summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Command/Search.php
diff options
context:
space:
mode:
authorVinicius Cubas Brand <viniciuscb@gmail.com>2017-11-02 10:40:38 -0200
committerVinicius Cubas Brand <viniciuscb@gmail.com>2017-11-03 11:41:40 -0200
commit10ca793452e75ecd276589f8ad916f3090ecb441 (patch)
tree2d902024afb03a4f88356b68b97369f86cec8372 /apps/user_ldap/lib/Command/Search.php
parent576d31d48d1e368c0ca54a95f28dc3bc0e553d83 (diff)
downloadnextcloud-server-10ca793452e75ecd276589f8ad916f3090ecb441.tar.gz
nextcloud-server-10ca793452e75ecd276589f8ad916f3090ecb441.zip
Plugins infrastructure in User_LDAP
Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
Diffstat (limited to 'apps/user_ldap/lib/Command/Search.php')
-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;