diff options
Diffstat (limited to 'modules/update/update.module')
-rw-r--r-- | modules/update/update.module | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/update/update.module b/modules/update/update.module index 33747ff47..887078334 100644 --- a/modules/update/update.module +++ b/modules/update/update.module @@ -337,6 +337,16 @@ function update_get_available($refresh = FALSE) { } /** + * Implementation of hook_flush_caches(). The function update.php (among others) + * calls this hook to flush the caches. Since we're running update.php, we are + * likely to install a new version of something, in which case, we want to check + * for available update data again. + */ +function update_flush_caches() { + return array('cache_update'); +} + +/** * Invalidates any cached data relating to update status. */ function update_invalidate_cache() { |