You are here

function wysiwyg_themes_enabled in Wysiwyg 7.2

Implements hook_themes_enabled().

File

./wysiwyg.module, line 784

Code

function wysiwyg_themes_enabled($theme_list) {
  $cached = cache_get('wysiwyg_css');
  if ($cached && !empty($cached->data)) {
    $css = $cached->data;
    foreach ($theme_list as $theme) {
      unset($css[$theme]);
    }
    cache_set('wysiwyg_css', $css);
  }
}