Unnecessary $questions assignment removed

$questions assignment is not used in the function so removed

Signed-off-by: Ömer Fatih İlhan <ofilhan@muhasebat.gov.tr>
Signed-off-by: Ömer Fatih İlhan <omer.ilhan@hmb.gov.tr>
This commit is contained in:
Ömer Fatih İlhan 2019-11-29 15:00:18 +03:00 committed by Ömer Fatih İlhan
commit 7b359896aa

View file

@ -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);