diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index 82180255d..8e967f4aa 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2438,6 +2438,7 @@ function drupal_page_footer() { _registry_check_code(REGISTRY_WRITE_LOOKUP_CACHE); drupal_cache_system_paths(); module_implements_write_cache(); + system_run_automated_cron(); } /** @@ -4016,8 +4017,6 @@ function _drupal_bootstrap_full() { fix_gpc_magic(); // Load all enabled modules module_load_all(); - // Register automated cron run handler. - drupal_register_shutdown_function('system_run_automated_cron'); // Make sure all stream wrappers are registered. file_get_stream_wrappers(); if (isset($_SERVER['HTTP_USER_AGENT']) && strpos($_SERVER['HTTP_USER_AGENT'], 'simpletest') !== FALSE) { |