aboutsummaryrefslogtreecommitdiffstats
path: root/include/queue.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/queue.php')
-rw-r--r--include/queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/queue.php b/include/queue.php
index c1b891f3c..cd81e2aa4 100644
--- a/include/queue.php
+++ b/include/queue.php
@@ -51,7 +51,7 @@ function queue_run($argv, $argc){
$result = z_post_url($rr['outq_posturl'],$rr['outq_msg']);
if($result['success'] && $result['return_code'] < 300) {
logger('deliver: queue post success to ' . $rr['outq_posturl'], LOGGER_DEBUG);
- $y = q("update outq set outq_delivered = '%s' where outq_hash = '%s' limit 1",
+ $y = q("delete from outq where outq_hash = '%s' limit 1",
dbesc($rr['ouq_hash'])
);
}