From d794bee7edf1f9e49687cea830580638805e0978 Mon Sep 17 00:00:00 2001 From: Olle Haerstedt Date: Thu, 4 Oct 2018 15:09:05 +0200 Subject: [PATCH] Dev: Indentation --- .../core/plugins/Authwebserver/Authwebserver.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/application/core/plugins/Authwebserver/Authwebserver.php b/application/core/plugins/Authwebserver/Authwebserver.php index 990645fd72b..6e6c1f95022 100644 --- a/application/core/plugins/Authwebserver/Authwebserver.php +++ b/application/core/plugins/Authwebserver/Authwebserver.php @@ -1,7 +1,7 @@ find('permission = :permission AND uid=:uid AND read_p =1', array(":permission" => 'auth_webserver', ":uid"=>$oUser->uid))) { -// Don't use Permission::model()->hasGlobalPermission : it's update the plugins event (and remove user/pass from event) + // Don't use Permission::model()->hasGlobalPermission : it's update the plugins event (and remove user/pass from event) $this->setAuthSuccess($oUser); return; } else { @@ -117,7 +117,7 @@ public function newUserSession() } if ($this->api->getConfigKey('auth_webserver_autocreate_user') && isset($aUserProfile) && is_null($oUser)) { -// user doesn't exist but auto-create user is set + // user doesn't exist but auto-create user is set $oUser = new User; $oUser->users_name = $sUser; $oUser->setPassword(createPassword()); // needed ? @@ -138,7 +138,5 @@ public function newUserSession() } } - } - - + } }