summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/update.php b/update.php
index 3105cbc55..63e8f4dc1 100644
--- a/update.php
+++ b/update.php
@@ -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}');
}