diff options
-rw-r--r-- | modules/comment/helpers/comment_rest.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/comment/helpers/comment_rest.php b/modules/comment/helpers/comment_rest.php index cfdf9fa3..bd3011cc 100644 --- a/modules/comment/helpers/comment_rest.php +++ b/modules/comment/helpers/comment_rest.php @@ -40,17 +40,6 @@ class comment_rest_Core { $comment->save(); } - static function post($request) { - $item = rest::resolve($request->url); - access::required("edit", $item); - - $entity = $request->params->entity; - $comment->text = $request->params->text; - $comment->save(); - - return array("url" => rest::url("comment", $comment)); - } - static function delete($request) { if (!identity::active_user()->admin) { access::forbidden(); |