diff options
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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')); |