diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-01-09 09:22:40 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-01-09 09:22:40 +0000 |
commit | 64b100d19ace2c9b82ced4438036a64a69eda3c3 (patch) | |
tree | 36a433e7cd27810edb315c2fc79e764742019b54 /cron.php | |
parent | 0830efe9a6c056d20a286880733fedcbd28b62fa (diff) | |
download | brdo-64b100d19ace2c9b82ced4438036a64a69eda3c3.tar.gz brdo-64b100d19ace2c9b82ced4438036a64a69eda3c3.tar.bz2 |
- 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.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |