function update_themes_disabled

update_themes_disabled($themes)

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();
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!update!update.module/function/update_themes_disabled/7.x