Merge pull request #22309 from nextcloud/backport/22221/stable19-2
[stable19] fixing a logged deprecation message
This commit is contained in:
commit
442d174ac3
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue