function update_themes_enabled in Drupal 7
Implements hook_themes_enabled().
If themes are enabled, we invalidate the cache of available updates.
File
- modules/
update/ update.module, line 328 - Handles updates of Drupal core and contributed projects.
Code
function update_themes_enabled($themes) {
// Clear all update module caches.
_update_cache_clear();
}