function themekey_update_6102 in ThemeKey 7.2
Same name and namespace in other branches
- 6.4 themekey.install \themekey_update_6102()
- 6.2 themekey.install \themekey_update_6102()
- 6.3 themekey.install \themekey_update_6102()
- 7.3 themekey.install \themekey_update_6102()
- 7 themekey.install \themekey_update_6102()
Implements hook_update_N().
File
- ./
themekey.install, line 179 - Database schema of
Code
function themekey_update_6102() {
if (module_exists('forum')) {
variable_set('themekey_module_forum_triggers_taxonomy_vid', 1);
}
if (module_exists('taxonomy_menu')) {
variable_set('themekey_module_taxonomy_menu_triggers_taxonomy_tid', 1);
}
return t('Set variables "themekey_module_forum_triggers_taxonomy_vid" and "themekey_module_taxonomy_menu_triggers_taxonomy_tid" with value 1');
}