Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While working on http://drupal.org/node/209242, I noticed that we don't flush the available update cache during update.php. That'd be another smart time to invalidate the cache, since whenever we're running update.php, it almost certainly means we installed a newer version of something, in which case, we want to check for available update data again.
Splitting this off into a separate issue/patch, since regardless of what you think about all the mtime business over at http://drupal.org/node/209242, this is still worth doing.
Comment | File | Size | Author |
---|---|---|---|
#2 | update_flush_caches_comment.patch | 1.04 KB | dww |
update_flush_caches.patch | 645 bytes | dww | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedI've added some code comments and committed this to CVS HEAD. Thanks, Derek.
Comment #2
dwwCool, thanks.
Minor followup patch to clean up the comment to meet our current conventions:
- First sentence of the phpdoc should be a summary and on its own line.
- No 2 spaces after periods.
- Wrap everything to 80 cols.
Comment #3
Gábor HojtsyThanks, committed.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.