Loading lib/Service/UserService.php +22 −28 Original line number Diff line number Diff line Loading @@ -291,7 +291,6 @@ class UserService { $newUserDN = "username=$username," . $base; $quota = $this->LDAPConnectionService->getLdapQuota() * 1024 * 1024; try { $newUserEntry = [ 'mailAddress' => $userEmail, 'username' => $username, Loading @@ -315,11 +314,6 @@ class UserService { throw new Exception($username." user not found."); } return $newUserEntry; } catch (LDAPUserCreationException $e) { throw $e; } catch (Exception $e) { throw $e; } } /** * Check if a recovery email address is available (not already taken by another user). Loading Loading
lib/Service/UserService.php +22 −28 Original line number Diff line number Diff line Loading @@ -291,7 +291,6 @@ class UserService { $newUserDN = "username=$username," . $base; $quota = $this->LDAPConnectionService->getLdapQuota() * 1024 * 1024; try { $newUserEntry = [ 'mailAddress' => $userEmail, 'username' => $username, Loading @@ -315,11 +314,6 @@ class UserService { throw new Exception($username." user not found."); } return $newUserEntry; } catch (LDAPUserCreationException $e) { throw $e; } catch (Exception $e) { throw $e; } } /** * Check if a recovery email address is available (not already taken by another user). Loading