You are here

function themekey_ui_uninstall in ThemeKey 6.3

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

Implements hook_uninstall().

File

./themekey_ui.install, line 71
Database schema of

Code

function themekey_ui_uninstall() {

  // Drop tables
  drupal_uninstall_schema('themekey_ui');

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