From 17f3807f2baa5b2c665413c1401e7a41515a84fe Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 5 Feb 2010 21:15:43 +0000 Subject: =?UTF-8?q?-=20Patch=20#566494=20by=20Dave=20Reid,=20chx,=20Joshua?= =?UTF-8?q?Rogers,=20David=5FRothstein,=20G=C3=A1bor=20Hojtsy,=20moshe=20w?= =?UTF-8?q?eitzman,=20Rob=20Loach,=20TheRec,=20catch:=20fixed=20cron=20doi?= =?UTF-8?q?ng=20a=20full=20bootstrap=20on=20every=20page=20request=20(incl?= =?UTF-8?q?uding=20cached=20ones).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- includes/common.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes/common.inc') 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) { -- cgit v1.2.3