summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-05-07 15:29:08 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-05-07 15:29:08 +0000
commit0f08d97b2151b8baab95f92d46808d250191b2f1 (patch)
tree19c5465da97f13a42dae43f59cec8982999465bb /modules/system/system.install
parent8550540b511967961c095fc085c8cc8062c424f3 (diff)
downloadbrdo-0f08d97b2151b8baab95f92d46808d250191b2f1.tar.gz
brdo-0f08d97b2151b8baab95f92d46808d250191b2f1.tar.bz2
#124158 by nedjo, jcnventura: Pull all PHP handling into PHP module.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install9
1 files changed, 9 insertions, 0 deletions
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
@@ -3430,6 +3430,15 @@ function system_update_7022() {
}
/**
+ * 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.
*/