Skip to content
Snippets Groups Projects
Commit 713747f1 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

small fixes

parent 2643a9fe
No related branches found
No related tags found
1 merge request!66php8 only; added variable types; short array syntax; remove glyphicons
...@@ -180,7 +180,7 @@ class user ...@@ -180,7 +180,7 @@ class user
switch ($sAuthMethod) { switch ($sAuthMethod) {
case 'ldap': case 'ldap':
require_once("userauth.ldap.class.php"); require_once("userauth.ldap.class.php");
$oUserAuth = new userauthLdap($aConfig['auth']['ldap']); $oUserAuth = new userauthLdap();
break; break;
// implement other methods here // implement other methods here
// see userauth.ldap.class.php as simple example // see userauth.ldap.class.php as simple example
......
...@@ -120,7 +120,7 @@ class vcs implements iVcs ...@@ -120,7 +120,7 @@ class vcs implements iVcs
* *
* @return string * @return string
*/ */
private function _setTempdir() private function _setTempdir(): string
{ {
$this->_sTempDir = $this->_aCfg["url"]; $this->_sTempDir = $this->_aCfg["url"];
$this->_sTempDir = preg_replace('/[\@\.\:\/]/', '_', $this->_sTempDir); $this->_sTempDir = preg_replace('/[\@\.\:\/]/', '_', $this->_sTempDir);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment