summaryrefslogtreecommitdiff
path: root/cron.php
diff options
context:
space:
mode:
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'));