You are here

function wysiwyg_update_5200 in Wysiwyg 5.2

Clear JS/CSS caches to ensure that clients load fresh copies.

File

./wysiwyg.install, line 173

Code

function wysiwyg_update_5200() {
  $ret = array();
  drupal_clear_css_cache();

  // Rebuild the menu to remove old admin/settings/wysiwyg/profile item.
  menu_rebuild();

  // Flush content caches.
  cache_clear_all();
  $ret[] = array(
    'success' => TRUE,
    'query' => 'Caches have been flushed.',
  );
  return $ret;
}