function update_themes_enabled

Implements hook_themes_enabled().

If themes are enabled, we invalidate the cache of available updates.

File

drupal/core/modules/update/update.module, line 318
Handles updates of Drupal core and contributed projects.

Code

function update_themes_enabled($themes) {

  // Clear all update module caches.
  _update_cache_clear();
}