You are here

themekey_debug.install in ThemeKey 6.3

Cleans up variables when unistalling

@author Markus Kalkbrenner | Cocomore AG

File

themekey_debug.install
View source
<?php

/**
 * @file
 * Cleans up variables when unistalling
 * @see themekey_debug.module
 *
 * @author Markus Kalkbrenner | Cocomore AG
 *   @see http://drupal.org/user/124705
 */

/**
 * Implements hook_uninstall().
 */
function themekey_debug_uninstall() {

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

Functions

Namesort descending Description
themekey_debug_uninstall Implements hook_uninstall().