You are here

function user_relationship_mailer_uninstall in User Relationships 6

Same name and namespace in other branches
  1. 5 plugins/user_relationship_mailer/user_relationship_mailer.install \user_relationship_mailer_uninstall()
  2. 5.2 plugins/user_relationship_mailer/user_relationship_mailer.install \user_relationship_mailer_uninstall()
  3. 7 user_relationship_mailer/user_relationship_mailer.install \user_relationship_mailer_uninstall()

@file Installation functions for User Relationships Mailer module

File

user_relationship_mailer/user_relationship_mailer.install, line 6
Installation functions for User Relationships Mailer module

Code

function user_relationship_mailer_uninstall() {
  variable_del('user_relationship_mailer_send_mail');
  module_load_include('inc', 'user_relationship_mailer', 'user_relationship_mailer_defaults');
  global $_user_relationship_mailer_ops;
  foreach ($_user_relationship_mailer_ops as $op) {
    variable_del("user_relationship_mailer_send_{$op}");
    variable_del("user_relationship_mailer_{$op}_subject");
    variable_del("user_relationship_mailer_{$op}_message");
  }
}