From 5b358e7841b161668c23ed8290e4fc9e99344137 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 19 Aug 2020 23:00:03 +0200 Subject: [PATCH] simplified backport of #22221, fixing a deprecation log message Signed-off-by: Arthur Schiwon --- apps/user_ldap/appinfo/app.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5