You are here

function mail_debugger_update_7201 in Mail Debugger 7.3

Enable modules that might be moved without notice

File

./mail_debugger.install, line 21

Code

function mail_debugger_update_7201() {

  // Enable attached modules only when upgrading from versions that include
  // this functionality by default.
  user_variable_del('mail_debugger_user_uid');
  user_variable_del('mail_debugger_user_mail');
  user_variable_del('mail_debugger_user_type');
  user_variable_del('mail_debugger_custom_to');
  user_variable_del('mail_debugger_custom_subject');
  user_variable_del('mail_debugger_custom_body');
  user_variable_del('mail_debugger_default_tab');
  module_enable(array(
    'mail_debugger_common',
  ));
}