From 713747f14b02eeb7efe25e612b24cfb6c4ce9ca2 Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Thu, 29 Aug 2024 16:57:49 +0200 Subject: [PATCH] small fixes --- public_html/deployment/classes/user.class.php | 2 +- public_html/deployment/classes/vcs.git.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public_html/deployment/classes/user.class.php b/public_html/deployment/classes/user.class.php index f8414bdf..adb85a9e 100644 --- a/public_html/deployment/classes/user.class.php +++ b/public_html/deployment/classes/user.class.php @@ -180,7 +180,7 @@ class user switch ($sAuthMethod) { case 'ldap': require_once("userauth.ldap.class.php"); - $oUserAuth = new userauthLdap($aConfig['auth']['ldap']); + $oUserAuth = new userauthLdap(); break; // implement other methods here // see userauth.ldap.class.php as simple example diff --git a/public_html/deployment/classes/vcs.git.class.php b/public_html/deployment/classes/vcs.git.class.php index 56239a19..c0ae067c 100644 --- a/public_html/deployment/classes/vcs.git.class.php +++ b/public_html/deployment/classes/vcs.git.class.php @@ -120,7 +120,7 @@ class vcs implements iVcs * * @return string */ - private function _setTempdir() + private function _setTempdir(): string { $this->_sTempDir = $this->_aCfg["url"]; $this->_sTempDir = preg_replace('/[\@\.\:\/]/', '_', $this->_sTempDir); -- GitLab