Skip to content

Commit

Permalink
refactor: remove unnecessary assignment
Browse files Browse the repository at this point in the history
Already done by constructor property promoition above.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
  • Loading branch information
kesselb committed May 2, 2024
1 parent 87bd6b3 commit 6e09c5a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/Controller/LockController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e09c5a

Please sign in to comment.