From c58606657f23a047f9ad4f3ed5c624a9deb1c853 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 4 Oct 2023 21:08:11 +0200 Subject: [PATCH] style(cleanup): remove dead code Signed-off-by: Arthur Schiwon --- lib/Dashboard/RecentPagesWidget.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/Dashboard/RecentPagesWidget.php b/lib/Dashboard/RecentPagesWidget.php index 9fe70c20a..0c4e2feb3 100644 --- a/lib/Dashboard/RecentPagesWidget.php +++ b/lib/Dashboard/RecentPagesWidget.php @@ -2,8 +2,6 @@ namespace OCA\Collectives\Dashboard; -use OCA\Collectives\Service\CollectiveService; -use OCA\Collectives\Service\PageService; use OCA\Collectives\Service\RecentPagesService; use OCP\Dashboard\IReloadableWidget; use OCP\Dashboard\Model\WidgetItem; @@ -19,21 +17,15 @@ class RecentPagesWidget implements IReloadableWidget { protected IL10N $l10n; protected IURLGenerator $urlGenerator; protected IUserSession $userSession; - protected PageService $pageService; - protected CollectiveService $collectiveService; protected RecentPagesService $recentPagesService; public function __construct( IL10N $l10n, IURLGenerator $urlGenerator, IUserSession $userSession, - PageService $pageService, - CollectiveService $collectiveService, RecentPagesService $recentPagesService ) { $this->recentPagesService = $recentPagesService; - $this->collectiveService = $collectiveService; - $this->pageService = $pageService; $this->userSession = $userSession; $this->urlGenerator = $urlGenerator; $this->l10n = $l10n;