diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-04-30 15:20:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-04-30 15:20:06 +0000 |
commit | 13c9e7f94bb2492186abbff352fdf77a4b579c40 (patch) | |
tree | ec61a1959dcff76e82a9b9007bfe8ab0ea1880c9 | |
parent | 4516d0c7bd5cbac7972c1a2c5e888e35ea168494 (diff) | |
download | brdo-13c9e7f94bb2492186abbff352fdf77a4b579c40.tar.gz brdo-13c9e7f94bb2492186abbff352fdf77a4b579c40.tar.bz2 |
- Rolled back patch #343415. Needs more work and discussion.
-rw-r--r-- | includes/form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc index 7131227b9..f47981a8f 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -503,7 +503,7 @@ function drupal_process_form($form_id, &$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 (!empty($form_state['values']['form_build_id'])) { + if (variable_get('cache', CACHE_DISABLED) == CACHE_DISABLED && !empty($form_state['values']['form_build_id'])) { cache_clear_all('form_' . $form_state['values']['form_build_id'], 'cache_form'); cache_clear_all('storage_' . $form_state['values']['form_build_id'], 'cache_form'); } |