Index: modules/system/system.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.admin.inc,v
retrieving revision 1.46
diff -u -r1.46 system.admin.inc
--- modules/system/system.admin.inc 28 Dec 2007 22:23:57 -0000 1.46
+++ modules/system/system.admin.inc 28 Dec 2007 23:55:50 -0000
@@ -18,7 +18,7 @@
}
// Check for status report errors.
- if (system_status(TRUE) && user_access('access site reports')) {
+ if (system_status(TRUE) && user_access('administer site configuration')) {
drupal_set_message(t('One or more problems were detected with your Drupal installation. Check the status report for more information.', array('@status' => url('admin/reports/status'))), 'error');
}
$blocks = array();
Index: modules/system/system.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/system/system.install,v
retrieving revision 1.220
diff -u -r1.220 system.install
--- modules/system/system.install 28 Dec 2007 22:23:57 -0000 1.220
+++ modules/system/system.install 28 Dec 2007 23:55:51 -0000
@@ -124,7 +124,7 @@
// 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'))));
}