Merge pull request #22309 from nextcloud/backport/22221/stable19-2

[stable19] fixing a logged deprecation message
This commit is contained in:
Morris Jobke 2020-08-20 08:02:01 +02:00 committed by GitHub
commit 442d174ac3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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);