From 20dcf37976ee269adcb2c004c5f612d8509b7f11 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Tue, 15 Dec 2015 17:42:49 -0800 Subject: issue #221 --- include/zot.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/zot.php') diff --git a/include/zot.php b/include/zot.php index 8f8e70159..f78639d43 100644 --- a/include/zot.php +++ b/include/zot.php @@ -4152,9 +4152,8 @@ function zot_reply_pickup($data) { } else $ret['pickup'][] = array('notify' => json_decode($rr['outq_notify'],true),'message' => $x); - $x = q("delete from outq where outq_hash = '%s'", - dbesc($rr['outq_hash']) - ); + + remove_queue_item($rr['outq_hash']); } } } -- cgit v1.2.3