public static function rejectEntry() { $result = array(); $rejected = lC_Reviews_Admin::reject($_GET['rid']); if ($rejected) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }