public static function deleteEntry() { $deleted = lC_Reviews_Admin::delete($_GET['rid']); if ($deleted) { $result['rpcStatus'] = RPC_STATUS_SUCCESS; } echo json_encode($result); }
public static function batchDelete($batch) { foreach ($batch as $id) { lC_Reviews_Admin::delete($id); } return true; }