diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-31 17:20:20 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-12-31 17:20:20 +0000 |
commit | 641fdad0b588595aae7d96189b4cedd633c0c29a (patch) | |
tree | 89c6f9354216011ebce4f66b68e290ae2761cc36 /modules/system/system.install | |
parent | 4157a521e0899622509022170c2be89da029c291 (diff) | |
download | brdo-641fdad0b588595aae7d96189b4cedd633c0c29a.tar.gz brdo-641fdad0b588595aae7d96189b4cedd633c0c29a.tar.bz2 |
#204420 follow up by webernet: fix bad permission check introduced for update module message
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index a7d343471..969821717 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -124,7 +124,7 @@ function system_requirements($phase) { // If cron hasn't been run, and the user is viewing the main // administration page, instead of an error, we display a helpful reminder // to configure cron jobs. - if ($never_run && $severity != REQUIREMENT_ERROR && $_GET['q'] == 'admin' && user_access('access site reports')) { + if ($never_run && $severity != REQUIREMENT_ERROR && $_GET['q'] == 'admin' && user_access('administer site configuration')) { drupal_set_message($t('Cron has not run. Please visit the <a href="@status">status report</a> for more information.', array('@status' => url('admin/reports/status')))); } |