diff options
author | dartcafe <github@dartcafe.de> | 2021-05-21 07:28:54 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-05-21 07:28:54 +0300 |
commit | 57d2c3172a39c5f128707a4429ca485d19a50ecf (patch) | |
tree | 8c842258205b28f69fe4296dfb5b77d453147632 /lib | |
parent | aee209e115cf8e2a9aff20bd620f749d322d4ecd (diff) |
cs fix
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/VoteService.php | 2 |
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(); |