From 6e09c5a12a3f5dbe535fc58d41902335965c59c8 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Thu, 2 May 2024 19:54:38 +0200 Subject: [PATCH] refactor: remove unnecessary assignment Already done by constructor property promoition above. Signed-off-by: Daniel Kesselberg --- lib/Controller/LockController.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Controller/LockController.php b/lib/Controller/LockController.php index c1d35250..48a71e35 100644 --- a/lib/Controller/LockController.php +++ b/lib/Controller/LockController.php @@ -67,10 +67,6 @@ public function __construct( private IL10N $l10n, ) { parent::__construct(Application::APP_ID, $request); - $this->userSession = $userSession; - $this->fileService = $fileService; - $this->lockService = $lockService; - $this->l10n = $l10n; // We need to overload some implementation from the OCSController here // to be able to push a custom message and data when returning other