diff --git a/modules/field/field.form.inc b/modules/field/field.form.inc index c3bb8bd79a9..7b4e88536d2 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);