/** * Deletes a comment from a thread. * * @return 0/1 in ['result'] */ public function execute() { $this->checkDefaultApp($this->aid); $ret = Api_Bo_Comments::deleteComment($this->cid, $this->xid, $this->aid); $response = array(); $response['result'] = $ret > 0 ? '1' : '0'; return $response; }