summaryrefslogtreecommitdiff
path: root/cron.php
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-07-05 11:45:51 +0000
committerDries Buytaert <dries@buytaert.net>2006-07-05 11:45:51 +0000
commite93f8be8716fd35a9ad6fc3453548a8c9e5d32e8 (patch)
tree4617ae5665c77c07c54b1dfbc9722de0727adef5 /cron.php
parent59aa2ae8e8a7e29e0029941b28bce5b7ba31ae94 (diff)
downloadbrdo-e93f8be8716fd35a9ad6fc3453548a8c9e5d32e8.tar.gz
brdo-e93f8be8716fd35a9ad6fc3453548a8c9e5d32e8.tar.bz2
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
Diffstat (limited to 'cron.php')
-rw-r--r--cron.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/cron.php b/cron.php
index 7e2ba89a7..cdc0b45c5 100644
--- a/cron.php
+++ b/cron.php
@@ -15,17 +15,17 @@ if (!ini_get('safe_mode')) {
}
// Check if the last cron run completed
-if (variable_get('cron_busy', false)) {
+if (variable_get('cron_busy', FALSE)) {
watchdog('cron', t('Last cron run did not complete.'), WATCHDOG_WARNING);
}
else {
- variable_set('cron_busy', true);
+ variable_set('cron_busy', TRUE);
}
// Iterate through the modules calling their cron handlers (if any):
module_invoke_all('cron');
// Clean up
-variable_set('cron_busy', false);
+variable_set('cron_busy', FALSE);
variable_set('cron_last', time());
watchdog('cron', t('Cron run completed'));