_update_refresh
function _update_refresh
_update_refresh()
Clears out all the cached available update data and initiates re-fetching.
File
- modules/update/update.fetch.inc, line 201
- Code required only when fetching information about available updates.
Code
function _update_refresh() { module_load_include('inc', 'update', 'update.compare'); // Since we're fetching new available update data, we want to clear // our cache of both the projects we care about, and the current update // status of the site. We do *not* want to clear the cache of available // releases just yet, since that data (even if it's stale) can be useful // during update_get_projects(); for example, to modules that implement // hook_system_info_alter() such as cvs_deploy. _update_cache_clear('update