function system_update_7021
7.x system.install | system_update_7021() |
Change the PHP for settings permission.
Related topics
File
- drupal-7.x/
modules/ system/ system.install, line 2126 - Install, update and uninstall functions for the system module.
Code
function system_update_7021() {
db_update('role_permission')
->fields(array('permission' => 'use PHP for settings'))
->condition('permission', 'use PHP for block visibility')
->execute();
}