aboutsummaryrefslogtreecommitdiffstats
path: root/include/deliver.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-28 21:49:13 -0700
committerfriendica <info@friendica.com>2014-08-28 21:49:13 -0700
commit8a62b824f98ca55c94a2fc04afbea0c118d44486 (patch)
tree728a14a58e2401696bf6fd5e4f53fef809f46438 /include/deliver.php
parent95def2a247eca54a52744e405e837d5810cca83d (diff)
downloadvolse-hubzilla-8a62b824f98ca55c94a2fc04afbea0c118d44486.tar.gz
volse-hubzilla-8a62b824f98ca55c94a2fc04afbea0c118d44486.tar.bz2
volse-hubzilla-8a62b824f98ca55c94a2fc04afbea0c118d44486.zip
lots of little Diaspora issues
Diffstat (limited to 'include/deliver.php')
-rw-r--r--include/deliver.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/deliver.php b/include/deliver.php
index 08c4f9b64..6f8bf0c98 100644
--- a/include/deliver.php
+++ b/include/deliver.php
@@ -24,6 +24,9 @@ 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",
+ dbesc($argv[$x])
+ );
}
else {
$y = q("update outq set outq_updated = '%s' where outq_hash = '%s' limit 1",