diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-08-19 23:00:03 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-08-19 23:03:22 +0200 |
commit | c8956e8893b20e428ca35b7169f804dd9959f225 (patch) | |
tree | 27f15e5ef1ea05a0a2765b84e239f5debd6e8fbb /apps | |
parent | d7aa1c00edd535dbd806aedd957ead2ca26537e5 (diff) | |
download | nextcloud-server-c8956e8893b20e428ca35b7169f804dd9959f225.tar.gz nextcloud-server-c8956e8893b20e428ca35b7169f804dd9959f225.zip |
simplified backport of #22221, fixing a deprecation log message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/appinfo/app.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php index c2d61ba61a2..5704fb7f6c8 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); |