diff --git a/apps/user_ldap/appinfo/app.php b/apps/user_ldap/appinfo/app.php index c2d61ba61a..5704fb7f6c 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);