aboutsummaryrefslogtreecommitdiffstats
path: root/include/deliver.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/deliver.php')
-rw-r--r--include/deliver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/deliver.php b/include/deliver.php
index 6f8bf0c98..2693fe165 100644
--- a/include/deliver.php
+++ b/include/deliver.php
@@ -24,7 +24,7 @@ function deliver_run($argv, $argc) {
$result = z_post_url($r[0]['outq_posturl'],$r[0]['outq_msg']);
if($result['success'] && $result['return_code'] < 300) {
logger('deliver: queue post success to ' . $r[0]['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($argv[$x])
);
}