diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-02-05 21:15:43 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-02-05 21:15:43 +0000 |
commit | 17f3807f2baa5b2c665413c1401e7a41515a84fe (patch) | |
tree | e55405b3376882b81a5433fb033c52684fcddfd0 /includes | |
parent | 06daeb7d505c7439fa4bf32c150561d7d1cbe8d3 (diff) | |
download | brdo-17f3807f2baa5b2c665413c1401e7a41515a84fe.tar.gz brdo-17f3807f2baa5b2c665413c1401e7a41515a84fe.tar.bz2 |
- Patch #566494 by Dave Reid, chx, JoshuaRogers, David_Rothstein, Gábor Hojtsy, moshe weitzman, Rob Loach, TheRec, catch: fixed cron doing a full bootstrap on every page request (including cached ones).
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/common.inc b/includes/common.inc index bb0e8ffe2..168fcc12c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -4528,6 +4528,8 @@ function _drupal_bootstrap_full() { fix_gpc_magic(); // Load all enabled modules module_load_all(); + // Register automated cron run handler. + 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) { |