diff --git a/modules/system.module b/modules/system.module index a61fd4dfdd53a622f58140a0badc2d6c84fae446..8e7b857df74466b229c0b9f6c6b5b2bcf49134e8 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 a61fd4dfdd53a622f58140a0badc2d6c84fae446..8e7b857df74466b229c0b9f6c6b5b2bcf49134e8 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; }