You are here

function themekey_uninstall in ThemeKey 6.3

Same name and namespace in other branches
  1. 6.4 themekey.install \themekey_uninstall()
  2. 6 themekey.install \themekey_uninstall()
  3. 6.2 themekey.install \themekey_uninstall()
  4. 7.3 themekey.install \themekey_uninstall()
  5. 7 themekey.install \themekey_uninstall()
  6. 7.2 themekey.install \themekey_uninstall()

Implements hook_uninstall().

File

./themekey.install, line 55
Database schema of

Code

function themekey_uninstall() {

  // Drop tables
  drupal_uninstall_schema('themekey');

  // Remove variables
  db_query("DELETE FROM {variable} WHERE name LIKE 'themekey_%%'");
  cache_clear_all('variables', 'cache');
}