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:
authordartcafe <github@dartcafe.de>2020-06-20 14:15:48 +0300
committerdartcafe <github@dartcafe.de>2020-06-20 14:15:48 +0300
commitfeb0fc3e16bde4d0fb0871e50a6c60eca83483d2 (patch)
tree12a291febcbb6b9be9086d6e946432c1769de713 /lib/Service
parentd3b8c7c7028b6c112c230df6c010263dfb1a1130 (diff)
Updated API and code polish, tidy
Diffstat (limited to 'lib/Service')
-rw-r--r--lib/Service/CommentService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/CommentService.php b/lib/Service/CommentService.php
index d939ec18..6a2b6d1d 100644
--- a/lib/Service/CommentService.php
+++ b/lib/Service/CommentService.php
@@ -113,7 +113,7 @@ class CommentService {
* @param string $token
* @return Comment
*/
- public function add($message, $pollId = 0, $token = '') {
+ public function add($pollId = 0, $message, $token = '') {
$this->logger->debug('call commentService->write("' . $message . '", ' .$pollId . ', "' .$token . '")');
if (!$this->acl->checkAuthorize($pollId, $token)) {