summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Command
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-11-06 16:07:31 +0100
committerGitHub <noreply@github.com>2017-11-06 16:07:31 +0100
commit5411d60b249cc12b429ed8083e7f34d1415d278e (patch)
treef50b1b15040a14a663427b6868c111c7176a5eb2 /apps/user_ldap/lib/Command
parent0256f68c4909ecacc1b2b515253523809a870868 (diff)
parentfa565750d1f94f9d3f7e2229e7ec7aadd0d06063 (diff)
downloadnextcloud-server-5411d60b249cc12b429ed8083e7f34d1415d278e.tar.gz
nextcloud-server-5411d60b249cc12b429ed8083e7f34d1415d278e.zip
Merge pull request #5321 from coletivoEITA/user_ldap_plugins_structure
Implement plugins infrastructure in User_LDAP
Diffstat (limited to 'apps/user_ldap/lib/Command')
-rw-r--r--apps/user_ldap/lib/Command/Search.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Command/Search.php b/apps/user_ldap/lib/Command/Search.php
index d348d5b31c9..4b2212a43c9 100644
--- a/apps/user_ldap/lib/Command/Search.php
+++ b/apps/user_ldap/lib/Command/Search.php
@@ -111,7 +111,7 @@ class Search extends Command {
$this->validateOffsetAndLimit($offset, $limit);
if($input->getOption('group')) {
- $proxy = new Group_Proxy($configPrefixes, $ldapWrapper);
+ $proxy = new Group_Proxy($configPrefixes, $ldapWrapper, \OC::$server->query('LDAPGroupPluginManager'));
$getMethod = 'getGroups';
$printID = false;
// convert the limit of groups to null. This will show all the groups available instead of
@@ -125,7 +125,8 @@ class Search extends Command {
$ldapWrapper,
$this->ocConfig,
\OC::$server->getNotificationManager(),
- \OC::$server->getUserSession()
+ \OC::$server->getUserSession(),
+ \OC::$server->query('LDAPUserPluginManager')
);
$getMethod = 'getDisplayNames';
$printID = true;