You are here

function spaces_features_form_reset in Spaces 6.2

Reset submit handler for feature customization form.

1 string reference to 'spaces_features_form_reset'
spaces_features_form in ./spaces_admin.inc
FEATURE SETTINGS ===================================================

File

./spaces_admin.inc, line 676

Code

function spaces_features_form_reset($form, &$form_state) {
  $space = $form_state['values']['space'];
  unset($space->customizer);
  unset($space->settings);
  unset($space->features);
  spaces_save($space);
}