[icinga-checkins] icinga.org: icingaweb2/bugfix/ switching-to-Icinga-theme-floods-error-log-12660: Revert "LessCompiler: Remove error message when switching to Icinga theme"

git at icinga.org git at icinga.org
Fri Oct 14 13:28:50 CEST 2016


Module: icingaweb2
Branch: bugfix/switching-to-Icinga-theme-floods-error-log-12660
Commit: 8294471253e58331662759a609b3da730e9f311c
URL:    https://git.icinga.org/?p=icingaweb2.git;a=commit;h=8294471253e58331662759a609b3da730e9f311c

Author: Jennifer Mourek <jennifer.mourek at netways.de>
Date:   Fri Oct 14 09:39:24 2016 +0200

Revert "LessCompiler: Remove error message when switching to Icinga theme"

This reverts commit 2e24833d7cb474ec9614f44496bcf3e589f386af.

---

 library/Icinga/Web/LessCompiler.php |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/library/Icinga/Web/LessCompiler.php b/library/Icinga/Web/LessCompiler.php
index 0419e15..7ec34a1 100644
--- a/library/Icinga/Web/LessCompiler.php
+++ b/library/Icinga/Web/LessCompiler.php
@@ -122,9 +122,7 @@ class LessCompiler
         if (is_file($theme) && is_readable($theme)) {
             $this->theme = $theme;
         } else {
-            if ($theme !== '/vagrant/public/css/themes/Icinga.less') {
-                Logger::error('Can\t load theme %s. Make sure that the theme exists and is readable', $theme);
-            }
+            Logger::error('Can\t load theme %s. Make sure that the theme exists and is readable', $theme);
         }
         return $this;
     }



More information about the icinga-checkins mailing list