From 10ca793452e75ecd276589f8ad916f3090ecb441 Mon Sep 17 00:00:00 2001 From: Vinicius Cubas Brand Date: Thu, 2 Nov 2017 10:40:38 -0200 Subject: Plugins infrastructure in User_LDAP Signed-off-by: Vinicius Cubas Brand --- apps/user_ldap/lib/Command/Search.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/user_ldap/lib/Command') 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; -- cgit v1.2.3