simplified backport of #22221, fixing a deprecation log message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
d7aa1c00ed
commit
c8956e8893
|
@ -56,7 +56,7 @@ if (count($configPrefixes) > 0) {
|
||||||
OC_User::useBackend($userBackend);
|
OC_User::useBackend($userBackend);
|
||||||
|
|
||||||
// Hook to allow plugins to work on registered backends
|
// 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);
|
\OC::$server->getGroupManager()->addBackend($groupBackend);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue