You are here

function themekey_user_profile_uninstall in ThemeKey 7

Same name and namespace in other branches
  1. 7.3 themekey_user_profile.install \themekey_user_profile_uninstall()
  2. 7.2 themekey_user_profile.install \themekey_user_profile_uninstall()

Implements hook_uninstall().

File

./themekey_user_profile.install, line 25
Database schema of

Code

function themekey_user_profile_uninstall() {

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