diff --git a/application/forms/Config/LoggingForm.php b/application/forms/Config/LoggingForm.php index dc90a24d8..5a06994c2 100644 --- a/application/forms/Config/LoggingForm.php +++ b/application/forms/Config/LoggingForm.php @@ -156,10 +156,7 @@ class LoggingForm extends Form 'label' => 'Debug Log Path', 'required' => $this->shouldDisplayDebugLog($debug), 'condition' => $this->shouldDisplayDebugLog($debug), - 'value' => $debug->get( - 'target', - $this->getBaseDir() . '/var/log/icinga2.debug.log' - ), + 'value' => $debug->get('target', $this->getBaseDir() . '/var/log/icinga2.debug.log'), 'helptext' => 'Set the path to the debug log' ) ); diff --git a/test/php/application/forms/Preference/GeneralFormTest.php b/test/php/application/forms/Preference/GeneralFormTest.php index effcdb4f8..51ccd13b4 100644 --- a/test/php/application/forms/Preference/GeneralFormTest.php +++ b/test/php/application/forms/Preference/GeneralFormTest.php @@ -46,7 +46,6 @@ require_once BaseTestCase::$libDir . '/Util/DateTimeFactory.php'; // @codingStandardsIgnoreEnd use \DateTimeZone; -use \Zend_Config; use \Icinga\User\Preferences; use \Zend_View_Helper_DateFormat; use \Icinga\Util\DateTimeFactory;