You are here

function email_verify_uninstall in Email Verify 7.2

Same name and namespace in other branches
  1. 7 email_verify.install \email_verify_uninstall()

Implements hook_uninstall().

Removes variables created by this module.

File

./email_verify.install, line 25
Install, update and uninstall functions for this module.

Code

function email_verify_uninstall() {

  // Get global variable array.
  global $conf;
  foreach (array_keys($conf) as $key) {

    // Find variables that have the module name prefixed.
    if (strpos($key, 'email_verify_') === 0) {
      variable_del($key);
    }
  }
}