You are here

function multiple_email_uninstall in Multiple E-mail Addresses 7

Same name and namespace in other branches
  1. 5 multiple_email.install \multiple_email_uninstall()
  2. 6 multiple_email.install \multiple_email_uninstall()
  3. 2.x multiple_email.install \multiple_email_uninstall()

Implements hook_uninstall().

File

./multiple_email.install, line 31
Install file for multiple_email module

Code

function multiple_email_uninstall() {
  $variables = array(
    'multiple_email_hide_field',
    'multiple_email_edit_emails',
    'multiple_email_password_reset',
    'multiple_email_confirm_deadline',
    'multiple_email_confirm_attempts',
    'multiple_email_confirmation_subject',
    'multiple_email_confirmation_body',
    'multiple_email_expire_subject',
    'multiple_email_expire_body',
  );
  foreach ($variables as $key) {
    variable_del($key);
  }
}