From 7d7f2928d1543b61de9613a5308454775b79c667 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 6 Jan 2008 18:22:14 +0000 Subject: - Patch #203222 by Pascalle: added missing message type to watchdog call. --- modules/system/system.admin.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/system') diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 263b7b671..9505ad1c3 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1729,10 +1729,10 @@ function system_status($check = FALSE) { function system_run_cron() { // Run cron manually if (drupal_cron_run()) { - drupal_set_message(t('Cron ran successfully')); + drupal_set_message(t('Cron ran successfully.')); } else { - drupal_set_message(t('Cron run failed')); + drupal_set_message(t('Cron run failed.'), 'error'); } drupal_goto('admin/reports/status'); -- cgit v1.2.3