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

Commit 85a55704 authored by Ronak Patel's avatar Ronak Patel
Browse files

changes as per suggestions

parent 9f88c462
Loading
Loading
Loading
Loading
Loading
+13 −18
Original line number Diff line number Diff line
@@ -34,7 +34,6 @@ class MapActiveAttributetoLDAP extends Command {
	}

	protected function execute(InputInterface $input, OutputInterface $output): int {
		try {
		$this->commandOutput = $output;
		$this->userManager->callForSeenUsers(function (IUser $user) {
			if ($this->isUserValid($user)) {
@@ -49,10 +48,6 @@ class MapActiveAttributetoLDAP extends Command {
		});
		$this->commandOutput->writeln('Active attributes mapped successfully.');
		return 0;
		} catch (\Exception $e) {
			$this->commandOutput->writeln($e->getMessage());
			return 1;
		}
	}
	/**
	 * validate user