diff options
Diffstat (limited to 'apps/files_external/command/listcommand.php')
-rw-r--r-- | apps/files_external/command/listcommand.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/files_external/command/listcommand.php b/apps/files_external/command/listcommand.php index 7292309a432..f55fb464c83 100644 --- a/apps/files_external/command/listcommand.php +++ b/apps/files_external/command/listcommand.php @@ -102,6 +102,16 @@ class ListCommand extends Base { /** @var $mounts StorageConfig[] */ $mounts = $storageService->getAllStorages(); + $this->listMounts($userId, $mounts, $input, $output); + } + + /** + * @param $userId $userId + * @param StorageConfig[] $mounts + * @param InputInterface $input + * @param OutputInterface $output + */ + public function listMounts($userId, array $mounts, InputInterface $input, OutputInterface $output){ if (count($mounts) === 0) { if ($userId) { $output->writeln("<info>No mounts configured by $userId</info>"); |