Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2021-05-21 07:28:54 +0300
committerdartcafe <github@dartcafe.de>2021-05-21 07:28:54 +0300
commit57d2c3172a39c5f128707a4429ca485d19a50ecf (patch)
tree8c842258205b28f69fe4296dfb5b77d453147632 /lib
parentaee209e115cf8e2a9aff20bd620f749d322d4ecd (diff)
cs fix
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/VoteService.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Service/VoteService.php b/lib/Service/VoteService.php
index 46dd0e38..6333bb4d 100644
--- a/lib/Service/VoteService.php
+++ b/lib/Service/VoteService.php
@@ -162,12 +162,10 @@ class VoteService {
}
$this->vote->setVoteAnswer('');
return $this->vote;
-
}
$this->vote->setVoteAnswer($setTo);
$this->voteMapper->update($this->vote);
-
} catch (DoesNotExistException $e) {
// Vote does not exist, insert as new Vote
$this->vote = new Vote();