| 7 update.module | update_manager_access() |
| 8 update.module | update_manager_access() |
Determine if the current user can access the updater menu items.
This is used as a menu system access callback. It both enforces the 'administer software updates' permission and the global killswitch for the authorize.php script.
See also
5 calls to update_manager_access()
1 string reference to 'update_manager_access'
File
- modules/
update/ update.module, line 257 - The "Update status" module checks for available updates of Drupal core and any installed contributed modules and themes. It warns site administrators if newer releases are available via the system status report (admin/reports/status), the…
Code
function update_manager_access() {
return variable_get('allow_authorize_operations', TRUE) && user_access('administer software updates');
}
Login or register to post comments