diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-16 20:02:52 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-16 20:02:52 -0700 |
commit | a27189ce9f771251f89947e4264e503596f0b2dd (patch) | |
tree | 019639d89155937103175d169c3dd4cc4f4f1125 /modules/comment/helpers/comment_rest.php | |
parent | ef06a134823f9276a6acb04d011e7e4276475965 (diff) |
Remove comment_rest::post() -- that's in comments_rest now.
Diffstat (limited to 'modules/comment/helpers/comment_rest.php')
-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(); |