themekey_debug.install in ThemeKey 7
Same filename and directory in other branches
Cleans up variables when uninstalling
@author Markus Kalkbrenner | Cocomore AG
File
themekey_debug.installView source
<?php
/**
* @file
* Cleans up variables when uninstalling
* @see themekey_debug.module
*
* @author Markus Kalkbrenner | Cocomore AG
* @see http://drupal.org/user/124705
*/
/**
* Implements hook_uninstall().
*/
function themekey_debug_uninstall() {
// Remove variables
// TODO Please review the conversion of this statement to the D7 database API syntax.
/* db_query("DELETE FROM {variable} WHERE name LIKE 'themekey_debug_%%'") */
db_delete('variable')
->condition('name', 'themekey_debug_%%', 'LIKE')
->execute();
cache_clear_all('variables', 'cache');
}
Functions
Name | Description |
---|---|
themekey_debug_uninstall | Implements hook_uninstall(). |