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 --- modules/system/system.admin.inc | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'modules/system/system.admin.inc') diff --git a/modules/system/system.admin.inc b/modules/system/system.admin.inc index 372993712..a3ef214d7 100644 --- a/modules/system/system.admin.inc +++ b/modules/system/system.admin.inc @@ -1560,7 +1560,6 @@ function system_site_information_settings() { ); $form['#validate'][] = 'system_site_information_settings_validate'; - $form['#submit'][] = 'system_site_information_settings_submit'; return system_settings_form($form, FALSE); } @@ -1581,18 +1580,6 @@ function system_site_information_settings_validate($form, &$form_state) { } } -/** - * Form submit handler for the site-information form. - */ -function system_site_information_settings_submit($form, &$form_state) { - // Clear caches when the cron threshold is changed to ensure that the cron - // image is not contained in cached pages. - $cron_threshold = variable_get('cron_safe_threshold', DRUPAL_CRON_DEFAULT_THRESHOLD); - if ($cron_threshold != $form_state['input']['cron_safe_threshold']) { - cache_clear_all(); - } -} - /** * Form builder; Configure error reporting settings. * -- cgit v1.2.3