diff options
author | friendica <info@friendica.com> | 2014-08-28 22:55:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-08-28 22:55:40 -0700 |
commit | c6b67518d64fc74524938510ad15e49538847179 (patch) | |
tree | dd1042f001808c3ffd5ce18c7aa24005e0109166 | |
parent | 00004e1a12c74eb600919a3fe37c8f2c253a552f (diff) | |
download | volse-hubzilla-c6b67518d64fc74524938510ad15e49538847179.tar.gz volse-hubzilla-c6b67518d64fc74524938510ad15e49538847179.tar.bz2 volse-hubzilla-c6b67518d64fc74524938510ad15e49538847179.zip |
more queue tweaks
-rw-r--r-- | include/deliver.php | 2 | ||||
-rw-r--r-- | include/queue.php | 2 |
2 files changed, 2 insertions, 2 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]) ); } 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']) ); } |