You are here

function fieldset_helper_state_manager_clear_lookup_ids in Fieldset helper 7.2

Same name and namespace in other branches
  1. 6.2 fieldset_helper.module \fieldset_helper_state_manager_clear_lookup_ids()
  2. 6 fieldset_helper.module \fieldset_helper_state_manager_clear_lookup_ids()

Clear all the store lookup id for every form.

3 calls to fieldset_helper_state_manager_clear_lookup_ids()
fieldset_helper_admin_settings_submit in ./fieldset_helper.admin.inc
Implementation of FORM_ID_submit().
fieldset_helper_clear_fieldset_id_lookup_submit in ./fieldset_helper.admin.inc
Clear the fieldset helper state manager table
fieldset_helper_update_6200 in ./fieldset_helper.install
Remove 'fieldset_helper_auto_exclude' variable.

File

./fieldset_helper.module, line 323

Code

function fieldset_helper_state_manager_clear_lookup_ids() {
  drupal_set_message(t('Fieldset lookup ids cleared.'));
  db_delete('fieldset_helper_state_manager')
    ->execute();
}