function themekey_ui_uninstall in ThemeKey 7.2
Same name and namespace in other branches
- 6.4 themekey_ui.install \themekey_ui_uninstall()
- 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()
Implements hook_uninstall().
File
- ./
themekey_ui.install, line 77 - Database schema of
Code
function themekey_ui_uninstall() {
// Remove variables
db_delete('variable')
->condition('name', 'themekey_ui%%', 'LIKE')
->execute();
cache_clear_all('variables', 'cache');
}