You are here

function themekey_update_6102 in ThemeKey 7.3

Same name and namespace in other branches
  1. 6.4 themekey.install \themekey_update_6102()
  2. 6.2 themekey.install \themekey_update_6102()
  3. 6.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 218
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');
}