function themekey_uninstall in ThemeKey 6
Same name and namespace in other branches
- 6.4 themekey.install \themekey_uninstall()
- 6.2 themekey.install \themekey_uninstall()
- 6.3 themekey.install \themekey_uninstall()
- 7.3 themekey.install \themekey_uninstall()
- 7 themekey.install \themekey_uninstall()
- 7.2 themekey.install \themekey_uninstall()
Implementation of hook_uninstall().
File
- ./
themekey.install, line 59
Code
function themekey_uninstall() {
// Drop tables
drupal_uninstall_schema('themekey');
// Remove variables
db_query("DELETE FROM {variable} WHERE name LIKE 'themekey_%'");
cache_clear_all('variables', 'cache');
}