You are here

function user_import_uninstall in User Import 7.3

Same name and namespace in other branches
  1. 8 user_import.install \user_import_uninstall()
  2. 5.2 user_import.install \user_import_uninstall()
  3. 5 user_import.install \user_import_uninstall()
  4. 6.4 user_import.install \user_import_uninstall()
  5. 6.2 user_import.install \user_import_uninstall()
  6. 7 user_import.install \user_import_uninstall()
  7. 7.2 user_import.install \user_import_uninstall()

Implementation of hook_uninstall().

File

./user_import.install, line 164
Import and update users from a comma separated file (csv).

Code

function user_import_uninstall() {
  variable_del('user_import_settings');
  variable_del('user_import_max');
  variable_del('user_import_line_max');
  variable_del('user_import_delimiter');
  variable_del('user_import_encoding');
  variable_del('user_import_nomail');

  //
  $mail_system = variable_get('mail_system', array(
    'default-system' => 'DefaultMailSystem',
  ));
  unset($mail_system['user_import']);
  variable_set('mail_system', $mail_system);
}