From e334ca1b726eae9cf369027d11c7691d23d82913 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 5 Jan 2006 09:42:09 +0000 Subject: [PATCH] - Cleaned up the cron status message. --- modules/system.module | 4 +--- modules/system/system.module | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/modules/system.module b/modules/system.module index a61fd4dfdd5..8e7b857df74 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 configuring cron jobs.', 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 a61fd4dfdd5..8e7b857df74 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 configuring cron jobs.', array('%url' => 'http://drupal.org/cron')); } - $form['settings'] = array('#type' => 'item', '#title' => $title, '#value' => $status); + $form['settings'] = array('#type' => 'item', '#value' => $status); return $form; }