summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Command/Search.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/lib/Command/Search.php')
-rw-r--r--apps/user_ldap/lib/Command/Search.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Command/Search.php b/apps/user_ldap/lib/Command/Search.php
index 463ad2eaeb4..d348d5b31c9 100644
--- a/apps/user_ldap/lib/Command/Search.php
+++ b/apps/user_ldap/lib/Command/Search.php
@@ -120,7 +120,13 @@ class Search extends Command {
$limit = null;
}
} else {
- $proxy = new User_Proxy($configPrefixes, $ldapWrapper, $this->ocConfig, \OC::$server->getNotificationManager());
+ $proxy = new User_Proxy(
+ $configPrefixes,
+ $ldapWrapper,
+ $this->ocConfig,
+ \OC::$server->getNotificationManager(),
+ \OC::$server->getUserSession()
+ );
$getMethod = 'getDisplayNames';
$printID = true;
}