From e2b698f57701f2963c6198ec9499307f5c20c04b Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 24 Sep 2019 15:23:34 -0400
Subject: [PATCH] Enable themes in CLI.

---
 module/VuFind/src/VuFind/Bootstrapper.php | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/module/VuFind/src/VuFind/Bootstrapper.php b/module/VuFind/src/VuFind/Bootstrapper.php
index ce3bea3275c..1f4e6063cbf 100644
--- a/module/VuFind/src/VuFind/Bootstrapper.php
+++ b/module/VuFind/src/VuFind/Bootstrapper.php
@@ -372,11 +372,6 @@ class Bootstrapper
      */
     protected function initTheme()
     {
-        // Themes not needed in console mode:
-        if (Console::isConsole()) {
-            return;
-        }
-
         // Attach remaining theme configuration to the dispatch event at high
         // priority (TODO: use priority constant once defined by framework):
         $config = $this->config->Site;
-- 
GitLab