From a99d28dea939abc7eb9fbfcfcc966c40215a94b6 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 18 Dec 2015 13:46:03 -0800 Subject: sql delete with limit --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index ce3bef783..922637bc1 100644 --- a/include/zot.php +++ b/include/zot.php @@ -1000,7 +1000,7 @@ function zot_process_response($hub, $arr, $outq) { // we have a more descriptive delivery report, so discard the per hub 'queued' report. - q("delete from dreport where dreport_queue = '%s' limit 1", + q("delete from dreport where dreport_queue = '%s' ", dbesc($outq['outq_hash']) ); -- cgit v1.2.3