You are here

function themekey_user_themekey_ui_author_theme_selected in ThemeKey 7.3

Implements hook_themekey_ui_author_theme_selected().

File

modules/themekey.user.inc, line 109
Provides some user attributes as ThemeKey properties.

Code

function themekey_user_themekey_ui_author_theme_selected($uid, $theme) {
  global $base_root;
  $cid = $base_root . '/user/' . $uid;
  cache_clear_all($cid, 'cache_page');
  cache_clear_all($cid . '/', 'cache_page', TRUE);
}