diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-27 20:19:20 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-27 20:19:20 +0000 |
commit | 0ae1c4d9b77ef68a1c3f81ee32f01464a37df3e9 (patch) | |
tree | 6aece2628dd773ff1333d1a4d51744cfe2c0cae1 /modules | |
parent | 93728e5d325371f6ec92213a6207a6bfddfc261b (diff) | |
download | brdo-0ae1c4d9b77ef68a1c3f81ee32f01464a37df3e9.tar.gz brdo-0ae1c4d9b77ef68a1c3f81ee32f01464a37df3e9.tar.bz2 |
- Patch #530894 by yched: removed unneeded #cache property in fields forms.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/field/field.form.inc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/field/field.form.inc b/modules/field/field.form.inc index c3bb8bd79..7b4e88536 100644 --- a/modules/field/field.form.inc +++ b/modules/field/field.form.inc @@ -36,8 +36,6 @@ function field_default_form($obj_type, $object, $field, $instance, $items, &$for 'field' => $field, 'instance' => $instance, ); - // TODO : why do we need this ? - $form['#cache'] = FALSE; // Populate widgets with default values if we're creating a new object. if (empty($items) && empty($id) && !empty($instance['default_value_function'])) { @@ -183,8 +181,6 @@ function field_multiple_value_form($field, $instance, $items, &$form, &$form_sta // Add AHAH add more button, if not working with a programmed form. if ($field['cardinality'] == FIELD_CARDINALITY_UNLIMITED && empty($form_state['programmed'])) { - // Make sure the form is cached so ahah can work. - $form['#cache'] = TRUE; $bundle_name_url_str = str_replace('_', '-', $instance['bundle']); $field_name_url_str = str_replace('_', '-', $field_name); |