From c57a1fdd92e65300beeaa41de2a9cb71250f8dcc Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Thu, 19 Sep 2024 17:29:32 +0200 Subject: [PATCH] fix(UserBackend): use OCP GenericEvent instead of Symphony Signed-off-by: Grigorii K. Shartsev --- lib/UserBackend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/UserBackend.php b/lib/UserBackend.php index 7149baf..c71831e 100644 --- a/lib/UserBackend.php +++ b/lib/UserBackend.php @@ -23,6 +23,7 @@ use OC\User\Backend; use OCP\DB\QueryBuilder\IQueryBuilder; +use OCP\EventDispatcher\GenericEvent; use OCP\EventDispatcher\IEventDispatcher; use OCP\Files\NotPermittedException; use OCP\IDBConnection; @@ -33,7 +34,6 @@ use OCP\IUserManager; use OCP\User\Backend\ICountUsersBackend; use OCP\UserInterface; -use Symfony\Component\EventDispatcher\GenericEvent; class UserBackend implements IUserBackend, UserInterface, ICountUsersBackend { private string $dbName = 'global_scale_users';