You are here

mailcontrol.install in Mailcontrol 7

Same filename and directory in other branches
  1. 8 mailcontrol.install
  2. 6 mailcontrol.install

This is the install file of the module.

It's purpose is to remove variables created by the module in case the module is being disabled.

File

mailcontrol.install
View source
<?php

/**
 * @file
 * This is the install file of the module.
 *
 * It's purpose is to remove variables created by the module
 * in case the module is being disabled.
 */

/**
 * Implements hook_uninstall().
 */
function mailcontrol_uninstall() {
  variable_del('user_mail_register_admin_created_notify');
  variable_del('user_mail_register_pending_approval_notify');
  variable_del('user_mail_register_no_approval_required_notify');
  variable_del('user_mail_password_reset_notify');
  variable_del('user_mail_cancel_confirm_notify');
}

Functions

Namesort descending Description
mailcontrol_uninstall Implements hook_uninstall().