diff options
Diffstat (limited to 'modules/system/system.admin.inc')
-rw-r--r-- | modules/system/system.admin.inc | 13 |
1 files changed, 0 insertions, 13 deletions
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); } @@ -1582,18 +1581,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. * * @ingroup forms |