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