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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Service/VoteService.php')
-rw-r--r--lib/Service/VoteService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/VoteService.php b/lib/Service/VoteService.php
index 26f70502..5fb0b5c7 100644
--- a/lib/Service/VoteService.php
+++ b/lib/Service/VoteService.php
@@ -161,7 +161,7 @@ class VoteService {
}
$this->voteMapper->deleteByPollAndUser($pollId, $userId);
- return true;
+ return $userId;
}
}