From 0f08d97b2151b8baab95f92d46808d250191b2f1 Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Thu, 7 May 2009 15:29:08 +0000 Subject: #124158 by nedjo, jcnventura: Pull all PHP handling into PHP module. --- modules/system/system.install | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'modules/system/system.install') diff --git a/modules/system/system.install b/modules/system/system.install index 8dc92d45c..ff05becf9 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3429,6 +3429,15 @@ function system_update_7022() { return $ret; } +/** + * Change the PHP for settings permission. + */ +function system_update_7023() { + $ret = array(); + $ret[] = update_sql("UPDATE {role_permission} SET permission = 'use PHP for settings' WHERE permission = 'use PHP for block visibility'"); + return $ret; +} + /** * @} End of "defgroup updates-6.x-to-7.x" * The next series of updates should start at 8000. -- cgit v1.2.3