diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-18 06:28:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-18 06:28:08 +0000 |
commit | 51839f246967ee43035e7e2c096c35108dc98387 (patch) | |
tree | 547545d9a5c3b86048e2984fd2087b8d741c19f8 | |
parent | aea6fe8feb2393b92b11044dda37a24b8b249d68 (diff) | |
download | brdo-51839f246967ee43035e7e2c096c35108dc98387.tar.gz brdo-51839f246967ee43035e7e2c096c35108dc98387.tar.bz2 |
#566494 follow-up by catch and David_Rothstein: Fixed Running cron in a shutdown function breaks the site.
-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) { |