function themekey_uninstall in ThemeKey 7
Same name and namespace in other branches
- 6.4 themekey.install \themekey_uninstall()
- 6 themekey.install \themekey_uninstall()
- 6.2 themekey.install \themekey_uninstall()
- 6.3 themekey.install \themekey_uninstall()
- 7.3 themekey.install \themekey_uninstall()
- 7.2 themekey.install \themekey_uninstall()
Implements hook_uninstall().
File
- ./
themekey.install, line 97 - Database schema of
Code
function themekey_uninstall() {
// Remove variables
db_delete('variable')
->condition('name', 'themekey_%%', 'LIKE')
->execute();
cache_clear_all('variables', 'cache');
}