diff --git a/public_html/deployment/classes/user.class.php b/public_html/deployment/classes/user.class.php index f8414bdf58fd792c7f377ce9446fbb515527fe08..adb85a9ee86b7a314efad7977ba9df086e68af02 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 56239a197e94904a8cd8e1fc375c1f6c8243f8a6..c0ae067c02e32f951b418d475a700b036a1ab2a5 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);