Loading lib/Command/SyncMissingUsersToCommon.php +0 −3 Original line number Diff line number Diff line Loading @@ -123,9 +123,6 @@ class SyncMissingUsersToCommon extends Command { $this->userManager->callForAllUsers(function (IUser $user) use ($ipAddress, $isDryRun, $output, &$stats) { $username = $user->getUID(); // Get user metadata from LDAP to obtain usernameWithoutDomain $userMetadata = $this->ldapConnectionService->getUserMetadata($username); $usernameWithoutDomain = $userMetadata['usernameWithoutDomain'] ?? $username; // Strip legacy domain from username before checking in common DB $usernameWithoutDomain = $this->userService->stripLegacyDomainFromUsername($username); if ($this->userService->isUsernameTaken($usernameWithoutDomain)) { Loading Loading
lib/Command/SyncMissingUsersToCommon.php +0 −3 Original line number Diff line number Diff line Loading @@ -123,9 +123,6 @@ class SyncMissingUsersToCommon extends Command { $this->userManager->callForAllUsers(function (IUser $user) use ($ipAddress, $isDryRun, $output, &$stats) { $username = $user->getUID(); // Get user metadata from LDAP to obtain usernameWithoutDomain $userMetadata = $this->ldapConnectionService->getUserMetadata($username); $usernameWithoutDomain = $userMetadata['usernameWithoutDomain'] ?? $username; // Strip legacy domain from username before checking in common DB $usernameWithoutDomain = $this->userService->stripLegacyDomainFromUsername($username); if ($this->userService->isUsernameTaken($usernameWithoutDomain)) { Loading