Simply code comment

4.7.x
Steven Wittens 2006-04-04 22:00:51 +00:00
parent 0a5386eea7
commit 1881ba04c1
1 changed files with 1 additions and 2 deletions

View File

@ -420,8 +420,7 @@ function update_do_updates() {
$percentage = 100;
}
// $update['module'] will be unset (the while loop above wasn't entered) when
// we are finished with all updates. Clear the cache.
// When no updates remain, clear the cache.
if (!isset($update['module'])) {
db_query('DELETE FROM {cache}');
}