Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-10-11 16:28:31 +0300
committerGitHub <noreply@github.com>2022-10-11 16:28:31 +0300
commitb2c43f24d65f034a305b36423f06171e7036383b (patch)
tree1bf09a7704a85c4e62652ee3b2282a25c6ca54ea
parentb529162285355f50bdee14e4b1298815610de647 (diff)
parent35adf5a22d741293804e52ed6fdb80244e0e7ce6 (diff)
Merge pull request #2118 from nextcloud/backport/2114/stable25
[stable25] return created groupfolder id from create command
-rw-r--r--lib/Command/Create.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Command/Create.php b/lib/Command/Create.php
index de72c324..d29baef1 100644
--- a/lib/Command/Create.php
+++ b/lib/Command/Create.php
@@ -46,7 +46,8 @@ class Create extends Base {
}
protected function execute(InputInterface $input, OutputInterface $output) {
- $this->folderManager->createFolder($input->getArgument('name'));
+ $id = $this->folderManager->createFolder($input->getArgument('name'));
+ $output->writeln((string)$id);
return 0;
}
}