function themekey_ui_uninstall in ThemeKey 6.4
Same name and namespace in other branches
- 6.2 themekey_ui.install \themekey_ui_uninstall()
- 6.3 themekey_ui.install \themekey_ui_uninstall()
- 7.3 themekey_ui.install \themekey_ui_uninstall()
- 7 themekey_ui.install \themekey_ui_uninstall()
- 7.2 themekey_ui.install \themekey_ui_uninstall()
Implements hook_uninstall().
File
- ./
themekey_ui.install, line 71 - Database schema of
Code
function themekey_ui_uninstall() {
// Drop tables
drupal_uninstall_schema('themekey_ui');
// Remove variables
db_query("DELETE FROM {variable} WHERE name LIKE 'themekey_ui%%'");
cache_clear_all('variables', 'cache');
}