]> source.dussan.org Git - nextcloud-server.git/commitdiff
simplified backport of #22221, fixing a deprecation log message 22310/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 19 Aug 2020 21:00:03 +0000 (23:00 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 19 Aug 2020 21:10:52 +0000 (23:10 +0200)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
apps/user_ldap/appinfo/app.php

index 2971bcfc3f816bee51b3c631e50404e097637dfa..b25c103e9487dbdf2e00d20e27933f2e0e0956b5 100644 (file)
@@ -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);