Browse Source

Fix access to groupManager

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
tags/v16.0.0alpha1
Daniel Kesselberg 5 years ago
parent
commit
1d1068753f
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      core/Command/App/Enable.php

+ 1
- 1
core/Command/App/Enable.php View File

@@ -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 [];
}

Loading…
Cancel
Save