/** * POST /issues/comment/delete * Delete a comment * * @param \Base $f3 * @throws \Exception */ public function comment_delete($f3) { $this->_requireAdmin(); $comment = new \Model\Issue\Comment(); $comment->load($f3->get("POST.id")); $comment->delete(); $this->_printJson(array("id" => $f3->get("POST.id")) + $comment->cast()); }