summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-08-19 23:00:03 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-08-19 23:10:52 +0200
commit5b358e7841b161668c23ed8290e4fc9e99344137 (patch)
tree75ed3f54fceaba1f509a0ff90ff853b0db82755e /apps
parent8a8ce8eb7d7d17c6eb7e5d5e7a2bf87970c5433d (diff)
downloadnextcloud-server-5b358e7841b161668c23ed8290e4fc9e99344137.tar.gz
nextcloud-server-5b358e7841b161668c23ed8290e4fc9e99344137.zip
simplified backport of #22221, fixing a deprecation log message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/appinfo/app.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php
index 2971bcfc3f8..b25c103e948 100644
--- a/apps/user_ldap/appinfo/app.php
+++ b/apps/user_ldap/appinfo/app.php
@@ -56,7 +56,7 @@ if(count($configPrefixes) > 0) {
OC_User::useBackend($userBackend);
// Hook to allow plugins to work on registered backends
- OC::$server->getEventDispatcher()->dispatch('OCA\\User_LDAP\\User\\User::postLDAPBackendAdded');
+ OC::$server->getEventDispatcher()->dispatch('OCA\\User_LDAP\\User\\User::postLDAPBackendAdded', new \OCP\EventDispatcher\Event());
\OC::$server->getGroupManager()->addBackend($groupBackend);