diff options
author | dartcafe <github@dartcafe.de> | 2020-06-20 14:15:48 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-06-20 14:15:48 +0300 |
commit | feb0fc3e16bde4d0fb0871e50a6c60eca83483d2 (patch) | |
tree | 12a291febcbb6b9be9086d6e946432c1769de713 /lib/Service | |
parent | d3b8c7c7028b6c112c230df6c010263dfb1a1130 (diff) |
Updated API and code polish, tidy
Diffstat (limited to 'lib/Service')
-rw-r--r-- | lib/Service/CommentService.php | 2 |
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)) { |