From fd21ba4e4df62f85780c7a349dfc5a998646d5b6 Mon Sep 17 00:00:00 2001 From: Matthias Jentsch Date: Mon, 30 Jun 2014 18:14:55 +0200 Subject: [PATCH] Fix violation of coding guidelines --- application/forms/Config/Authentication/DbBackendForm.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/forms/Config/Authentication/DbBackendForm.php b/application/forms/Config/Authentication/DbBackendForm.php index e7ab9bc3f..7aa417cea 100644 --- a/application/forms/Config/Authentication/DbBackendForm.php +++ b/application/forms/Config/Authentication/DbBackendForm.php @@ -30,10 +30,10 @@ namespace Icinga\Form\Config\Authentication; use \Exception; -use \Icinga\Authentication\Backend\DbUserBackend; use \Zend_Config; use Icinga\Data\ResourceFactory; -use Icinga\Authentication\UserBackend; +use Icinga\Authentication\DbConnection; +use Icinga\Authentication\Backend\DbUserBackend; /** * Form class for adding/modifying database authentication backends @@ -148,7 +148,6 @@ class DbBackendForm extends BaseBackendForm $this->addErrorMessage(sprintf(t('Using the specified backend failed: %s'), $e->getMessage())); return false; } - return true; } }