diff options
author | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-02-20 18:05:21 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2019-02-20 18:05:21 +0100 |
commit | 1d1068753f019580982297fee6c317fa89261d05 (patch) | |
tree | 2862fbaee542584a93ea2805863b52761ef093c9 /core/Command | |
parent | bb2d8bafc9e89c03830b863941954db74a0b067e (diff) | |
download | nextcloud-server-1d1068753f019580982297fee6c317fa89261d05.tar.gz nextcloud-server-1d1068753f019580982297fee6c317fa89261d05.zip |
Fix access to groupManager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/App/Enable.php | 2 |
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 []; } |