summaryrefslogtreecommitdiffstats
path: root/cron.php
diff options
context:
space:
mode:
authorDries Buytaert2005-01-09 09:22:40 +0000
committerDries Buytaert2005-01-09 09:22:40 +0000
commit64b100d19ace2c9b82ced4438036a64a69eda3c3 (patch)
tree36a433e7cd27810edb315c2fc79e764742019b54 /cron.php
parent0830efe9a6c056d20a286880733fedcbd28b62fa (diff)
- Patch #13260 by UnConeD: watchdog module improvements.
We added a 'severity' column to watchdog(): watchdog($type, $message, $link) --> watchdog($type, $message, $severity, $link); * Specify a severity in case you are reporting a warning or error. * The $link-parameter is now the fourth parameter instead of the third. TODO: document this in the upgrade guide.
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/cron.php b/cron.php
index 889ea00..98026de 100644
--- a/cron.php
+++ b/cron.php
@@ -16,7 +16,7 @@ if (!ini_get('safe_mode')) {
// Check if the last cron run completed
if (variable_get('cron_busy', false)) {
- watchdog('cron', t('Last cron run did not complete.'));
+ watchdog('cron', t('Last cron run did not complete.'), WATCHDOG_WARNING);
}
else {
variable_set('cron_busy', true);