From 7b359896aa537a0a7b620c404662fc42023ab409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96mer=20Fatih=20=C4=B0lhan?= Date: Fri, 29 Nov 2019 15:00:18 +0300 Subject: [PATCH] Unnecessary $questions assignment removed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit $questions assignment is not used in the function so removed Signed-off-by: Ömer Fatih İlhan Signed-off-by: Ömer Fatih İlhan --- lib/Controller/PageController.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index f2cfc61..90be477 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -271,8 +271,7 @@ class PageController extends Controller { } $votes = $this->voteMapper->findByForm($form->getId()); - $participants = $this->voteMapper->findParticipantsByForm($form->getId()); - $questions = $this->questionMapper->findByForm($form->getId()); + $participants = $this->voteMapper->findParticipantsByForm($form->getId()); try { $notification = $this->notificationMapper->findByUserAndForm($form->getId(), $this->userId);