summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-01-05 09:42:09 +0000
committerDries Buytaert <dries@buytaert.net>2006-01-05 09:42:09 +0000
commite334ca1b726eae9cf369027d11c7691d23d82913 (patch)
tree37c2d0fbcb8c6c2edcc2bdcd330455915b261468
parent45439f71d06fe54068c2c2bb8172dae44e3e1644 (diff)
downloadbrdo-e334ca1b726eae9cf369027d11c7691d23d82913.tar.gz
brdo-e334ca1b726eae9cf369027d11c7691d23d82913.tar.bz2
- Cleaned up the cron status message.
-rw-r--r--modules/system.module4
-rw-r--r--modules/system/system.module4
2 files changed, 2 insertions, 6 deletions
diff --git a/modules/system.module b/modules/system.module
index a61fd4dfd..8e7b857df 100644
--- a/modules/system.module
+++ b/modules/system.module
@@ -497,15 +497,13 @@ function system_cron_settings() {
$cron_last = variable_get('cron_last', NULL);
if (is_numeric($cron_last)) {
- $title = t('Cron properly configured');
$status = t('Cron is running. The last cron job ran %time ago.', array('%time' => format_interval(time() - $cron_last)));
}
else {
- $title = t('Cron not configured');
$status = t('Cron has not run. It appears cron jobs have not been setup on your system. Please check the help pages for <a href="%url">configuring cron jobs</a>.', array('%url' => 'http://drupal.org/cron'));
}
- $form['settings'] = array('#type' => 'item', '#title' => $title, '#value' => $status);
+ $form['settings'] = array('#type' => 'item', '#value' => $status);
return $form;
}
diff --git a/modules/system/system.module b/modules/system/system.module
index a61fd4dfd..8e7b857df 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -497,15 +497,13 @@ function system_cron_settings() {
$cron_last = variable_get('cron_last', NULL);
if (is_numeric($cron_last)) {
- $title = t('Cron properly configured');
$status = t('Cron is running. The last cron job ran %time ago.', array('%time' => format_interval(time() - $cron_last)));
}
else {
- $title = t('Cron not configured');
$status = t('Cron has not run. It appears cron jobs have not been setup on your system. Please check the help pages for <a href="%url">configuring cron jobs</a>.', array('%url' => 'http://drupal.org/cron'));
}
- $form['settings'] = array('#type' => 'item', '#title' => $title, '#value' => $status);
+ $form['settings'] = array('#type' => 'item', '#value' => $status);
return $form;
}