mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Use the searchDisplayName recommended method in user:list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
346344c153
commit
876c162df8
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ class ListCommand extends Base {
|
|||
}
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int {
|
||||
$users = $this->userManager->search('', (int) $input->getOption('limit'), (int) $input->getOption('offset'));
|
||||
$users = $this->userManager->searchDisplayName('', (int) $input->getOption('limit'), (int) $input->getOption('offset'));
|
||||
|
||||
$this->writeArrayInOutputFormat($input, $output, $this->formatUsers($users, (bool)$input->getOption('info')));
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue