From 641fdad0b588595aae7d96189b4cedd633c0c29a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Mon, 31 Dec 2007 17:20:20 +0000 Subject: #204420 follow up by webernet: fix bad permission check introduced for update module message --- modules/system/system.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/system/system.install') 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 status report for more information.', array('@status' => url('admin/reports/status')))); } -- cgit v1.2.3