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>2019-12-21 11:11:32 +0300
committerdartcafe <github@dartcafe.de>2019-12-21 11:11:32 +0300
commit70506ebff1201b3a8baa1bbdad8f4772d1ead430 (patch)
treefcf827b7f08ddc93b043e5123d95925ab624dd7d /lib/Controller/CommentController.php
parent1ac2ea100eaf5e270acd5f1e795952ee83647e6c (diff)
fixes and tidy
Diffstat (limited to 'lib/Controller/CommentController.php')
-rw-r--r--lib/Controller/CommentController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/CommentController.php b/lib/Controller/CommentController.php
index 191e809b..219c4476 100644
--- a/lib/Controller/CommentController.php
+++ b/lib/Controller/CommentController.php
@@ -207,7 +207,7 @@ class CommentController extends Controller {
* @param string $message
* @return DataResponse
*/
- public function delete($comment, $userId) {
+ public function delete($comment) {
if (\OC::$server->getUserSession()->isLoggedIn()) {
return new DataResponse(null, Http::STATUS_UNAUTHORIZED);
}