Merge pull request #130 from ordaolmayanadam/patch-2

Unnecessary $questions assignment removed
This commit is contained in:
JanDragon 2020-02-12 00:36:32 +01:00 committed by GitHub
commit 1ff4d13ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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