Unverified Commit 53c4b27e authored by Alex Pott's avatar Alex Pott
Browse files

perf: #2149631 Don't clear the CSS cache when installing themes

By: brianperry
By: catch
By: smustgrave
By: neerajsingh
By: slawrence10
(cherry picked from commit d759d555)
parent ded7281b
Loading
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -174,7 +174,6 @@ public function install(array $theme_list, $install_dependencies = TRUE) {
      $this->logger->info('%theme theme installed.', ['%theme' => $key]);
    }

    $this->cssCollectionOptimizer->deleteAll();
    // Add new themes to the list of installed themes.
    $register_themes = array_merge(array_keys($installed_themes), $themes_installed);
    // Get list of extensions for the new list of themes.