Simply code comment
parent
0a5386eea7
commit
1881ba04c1
|
|
@ -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}');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue