aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo/app.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-09-29 14:05:34 +0200
committerGitHub <noreply@github.com>2017-09-29 14:05:34 +0200
commit2840eb0e1d00bf8d980c054f5f6896c07bf8b563 (patch)
treed24e3d131c288e8eb2ad5db8172e34d3c91f841b /apps/user_ldap/appinfo/app.php
parent870d71689ab95a821d041a972d77637a9a2be988 (diff)
parente62ae5b2df9995d6183847ade27ad643ef861c6a (diff)
downloadnextcloud-server-2840eb0e1d00bf8d980c054f5f6896c07bf8b563.tar.gz
nextcloud-server-2840eb0e1d00bf8d980c054f5f6896c07bf8b563.zip
Merge pull request #6522 from nextcloud/fix-3365
fix LDAP User deletion (cleanup), fixes #3365
Diffstat (limited to 'apps/user_ldap/appinfo/app.php')
-rw-r--r--apps/user_ldap/appinfo/app.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php
index df08a2acd70..5239e52234a 100644
--- a/apps/user_ldap/appinfo/app.php
+++ b/apps/user_ldap/appinfo/app.php
@@ -44,9 +44,10 @@ if(count($configPrefixes) > 0) {
'name' => $l->t('LDAP user and group backend'),
];
});
+ $userSession = \OC::$server->getUserSession();
$userBackend = new OCA\User_LDAP\User_Proxy(
- $configPrefixes, $ldapWrapper, $ocConfig, $notificationManager
+ $configPrefixes, $ldapWrapper, $ocConfig, $notificationManager, $userSession
);
$groupBackend = new OCA\User_LDAP\Group_Proxy($configPrefixes, $ldapWrapper);
// register user backend