diff --git a/includes/form.inc b/includes/form.inc index 826b677..69592f8 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -856,14 +856,6 @@ function drupal_process_form($form_id, &$form, &$form_state) { // Execute form submit handlers. form_execute_handlers('submit', $form, $form_state); - // We'll clear out the cached copies of the form and its stored data - // here, as we've finished with them. The in-memory copies are still - // here, though. - if (!variable_get('cache', 0) && !empty($form_state['values']['form_build_id'])) { - cache_clear_all('form_' . $form_state['values']['form_build_id'], 'cache_form'); - cache_clear_all('form_state_' . $form_state['values']['form_build_id'], 'cache_form'); - } - // If batches were set in the submit handlers, we process them now, // possibly ending execution. We make sure we do not react to the batch // that is already being processed (if a batch operation performs a