Skip to content

Commit 663ad35

Browse files
committed
chore(controllers): remove unused dependency injections
Signed-off-by: Jonas <jonas@freesources.org>
1 parent b354d93 commit 663ad35

2 files changed

Lines changed: 0 additions & 4 deletions

File tree

lib/Controller/CollectiveController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
namespace OCA\Collectives\Controller;
1111

1212
use OCA\Collectives\Db\Collective;
13-
use OCA\Collectives\Fs\NodeHelper;
1413
use OCA\Collectives\ResponseDefinitions;
1514
use OCA\Collectives\Service\CircleExistsException;
1615
use OCA\Collectives\Service\CollectiveService;
@@ -44,7 +43,6 @@ public function __construct(
4443
private IUserSession $userSession,
4544
private IFactory $l10nFactory,
4645
private LoggerInterface $logger,
47-
private NodeHelper $nodeHelper,
4846
private ?string $userId,
4947
) {
5048
parent::__construct($appName, $request);

lib/Controller/TemplateController.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use OCP\AppFramework\OCS\OCSNotFoundException;
2020
use OCP\AppFramework\OCSController;
2121
use OCP\IRequest;
22-
use OCP\IUserSession;
2322
use Psr\Log\LoggerInterface;
2423

2524
/**
@@ -34,7 +33,6 @@ class TemplateController extends OCSController {
3433
public function __construct(
3534
string $appName,
3635
IRequest $request,
37-
private IUserSession $userSession,
3836
private TemplateService $templateService,
3937
private LoggerInterface $logger,
4038
private ?string $userId,

0 commit comments

Comments
 (0)