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

This reverts commit 2e24833d7cb474ec9614f44496bcf3e589f386af.
This commit is contained in:
Jennifer Mourek 2016-10-14 09:39:24 +02:00
parent 2e24833d7c
commit 8294471253

View File

@ -122,10 +122,8 @@ class LessCompiler
if (is_file($theme) && is_readable($theme)) { if (is_file($theme) && is_readable($theme)) {
$this->theme = $theme; $this->theme = $theme;
} else { } 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; return $this;
} }