You are here

function prlp_delete_config_variables in Password Reset Landing Page (PRLP) 7

Same name and namespace in other branches
  1. 6 prlp.admin.inc \prlp_delete_config_variables()

Deletes all configuration (variables) used by this module.

2 calls to prlp_delete_config_variables()
prlp_admin_settings_reset in ./prlp.admin.inc
Submit handler for 'Reset to defaults' button.
prlp_uninstall in ./prlp.install
Implements hook_uninstall().

File

./prlp.admin.inc, line 78
Password Reset Landing Page admin pages.

Code

function prlp_delete_config_variables() {
  $variable_names = array(
    'prlp_password_required',
    'prlp_destination',
    'prlp_hidden_fields',
    'prlp_hidden_account_fields',
  );
  foreach ($variable_names as $variable_name) {
    variable_del($variable_name);
  }
}