You are here

function role_watchdog_uninstall in Role Watchdog 6

Same name and namespace in other branches
  1. 6.2 role_watchdog.install \role_watchdog_uninstall()
  2. 7.2 role_watchdog.install \role_watchdog_uninstall()
  3. 7 role_watchdog.install \role_watchdog_uninstall()

Implementation of hook_uninstall().

File

./role_watchdog.install, line 71
Install file for Role watchdog.

Code

function role_watchdog_uninstall() {
  drupal_uninstall_schema('role_watchdog');
  db_query("DELETE FROM {variable} WHERE name LIKE 'role_watchdog_%'");
  cache_clear_all('variables', 'cache');
}