You are here

function themekey_ui_uninstall in ThemeKey 7.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. 6.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 79
Database schema of

Code

function themekey_ui_uninstall() {

  // Remove variables
  db_delete('variable')
    ->condition('name', 'themekey_ui%%', 'LIKE')
    ->execute();
  cache_clear_all('variables', 'cache');
}