summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-02-20 18:05:21 +0100
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-02-20 18:05:21 +0100
commit1d1068753f019580982297fee6c317fa89261d05 (patch)
tree2862fbaee542584a93ea2805863b52761ef093c9 /core
parentbb2d8bafc9e89c03830b863941954db74a0b067e (diff)
downloadnextcloud-server-1d1068753f019580982297fee6c317fa89261d05.tar.gz
nextcloud-server-1d1068753f019580982297fee6c317fa89261d05.zip
Fix access to groupManager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core')
-rw-r--r--core/Command/App/Enable.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Command/App/Enable.php b/core/Command/App/Enable.php
index 75833753170..ae763e57a84 100644
--- a/core/Command/App/Enable.php
+++ b/core/Command/App/Enable.php
@@ -149,7 +149,7 @@ class Enable extends Command implements CompletionAwareInterface {
if ($optionName === 'groups') {
return array_map(function (IGroup $group) {
return $group->getGID();
- }, \OC::$server->getGroupManager()->search($context->getCurrentWord()));
+ }, $this->groupManager->search($context->getCurrentWord()));
}
return [];
}