You are here

function auto_username_uninstall in Automatic User Names 7

Same name and namespace in other branches
  1. 8 auto_username.install \auto_username_uninstall()

Implements hook_uninstall().

File

./auto_username.install, line 11
Install, update and uninstall functions for the auto_username module.

Code

function auto_username_uninstall() {

  // Delete all the aun variables and then clear the variable cache
  db_query("DELETE FROM {variable} WHERE name LIKE 'aun_%'");
  cache_clear_all('variables', 'cache');
}