You are here

function fieldset_helper_state_manager_clear_lookup_ids in Fieldset helper 6.2

Same name and namespace in other branches
  1. 6 fieldset_helper.module \fieldset_helper_state_manager_clear_lookup_ids()
  2. 7.2 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 339

Code

function fieldset_helper_state_manager_clear_lookup_ids() {
  drupal_set_message(t('Fieldset lookup ids cleared.'));
  db_query("DELETE FROM {fieldset_helper_state_manager}");
}