Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb0f911a authored by theronakpatel's avatar theronakpatel
Browse files

redundant removed

parent 805ab837
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -234,11 +234,8 @@ class SyncMissingUsersToCommon extends Command {
		}

		try {
			// Check if user exists and is on LDAP backend
			// Get user from userManager (already verified to exist in processSingleUser)
			$user = $this->userManager->get($username);
			if (!$user) {
				throw new Exception("User not found in NextCloud");
			}

			// Check if user is on LDAP backend - skip if not
			if (!$this->ldapConnectionService->isUserOnLDAPBackend($user)) {