You are here

function themekey_update_6102 in ThemeKey 6.2

Same name and namespace in other branches
  1. 6.4 themekey.install \themekey_update_6102()
  2. 6.3 themekey.install \themekey_update_6102()
  3. 7.3 themekey.install \themekey_update_6102()
  4. 7 themekey.install \themekey_update_6102()
  5. 7.2 themekey.install \themekey_update_6102()

Implements hook_update_N().

File

./themekey.install, line 130
Database schema of @author Markus Kalkbrenner | Cocomore AG

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 array();
}