Skip to content

Commit ab8e8a7

Browse files
committed
Fix #3586. entup is always is clearing cache.
1 parent 136f961 commit ab8e8a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Commands/core/UpdateDBCommands.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ public function entityUpdates($options = ['cache-clear' => true])
9292
throw new \Exception('Entity updates not run.');
9393
}
9494

95-
drush_drupal_cache_clear_all();
95+
if ($options['cache-clear']) {
96+
drush_drupal_cache_clear_all();
97+
}
9698

9799
$this->logger()->success(dt('Finished performing updates.'));
98100
}

0 commit comments

Comments
 (0)