You are here

function user_register_notify_uninstall in User registration notification 7

Same name and namespace in other branches
  1. 5 user_register_notify.install \user_register_notify_uninstall()
  2. 6 user_register_notify.install \user_register_notify_uninstall()

Implements hook_uninstall().

File

./user_register_notify.install, line 23
Installation file for user_register_notify module.

Code

function user_register_notify_uninstall() {
  variable_del('user_register_notify_type');
  variable_del('user_register_notify_mail_to');
  variable_del('user_register_notify_mail_from');
  variable_del('user_register_notify_mail_replyto');
  variable_del('user_register_notify_mail_messageid');
  variable_del('user_register_notify_roles');
  variable_del('user_register_notify_created_body');
  variable_del('user_register_notify_created_subject');
  variable_del('user_register_notify_deleted_body');
  variable_del('user_register_notify_deleted_subject');
  variable_del('user_register_notify_updated_body');
  variable_del('user_register_notify_updated_subject');
  variable_del('user_register_notify_alert');

  // Remove custom core template not visible in UI to revert to core default.
  variable_del('user_mail_register_pending_approval_admin_subject');
  variable_del('user_mail_register_pending_approval_admin_body');
}