Loading lib/Command/MapActiveAttributetoLDAP.php +13 −18 Original line number Diff line number Diff line Loading @@ -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)) { Loading @@ -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 Loading Loading
lib/Command/MapActiveAttributetoLDAP.php +13 −18 Original line number Diff line number Diff line Loading @@ -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)) { Loading @@ -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 Loading