function styleswitcher_themes_disabled in Style Switcher 7.2
Implements hook_themes_disabled().
File
- ./
styleswitcher.module, line 804 - Module's hooks implementations and helper functions.
Code
function styleswitcher_themes_disabled($theme_list) {
// Delete styleswitcher settings of disabled themes.
$settings = variable_get('styleswitcher_styles_settings', array());
$settings = array_diff_key($settings, array_flip($theme_list));
variable_set('styleswitcher_styles_settings', $settings);
}