aboutsummaryrefslogtreecommitdiffstats
path: root/include/queue.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-29 17:31:40 -0700
committerfriendica <info@friendica.com>2014-08-29 17:31:40 -0700
commit88f8900ac52aa1b4bba90d000691dfa311ad2a92 (patch)
treebad032cf26eadf885ab90cb26e91bd53ba50e654 /include/queue.php
parent345d170236572866c0aa29698d5089f4d2bf7c11 (diff)
downloadvolse-hubzilla-88f8900ac52aa1b4bba90d000691dfa311ad2a92.tar.gz
volse-hubzilla-88f8900ac52aa1b4bba90d000691dfa311ad2a92.tar.bz2
volse-hubzilla-88f8900ac52aa1b4bba90d000691dfa311ad2a92.zip
various diaspora issues
Diffstat (limited to 'include/queue.php')
-rw-r--r--include/queue.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/queue.php b/include/queue.php
index cd81e2aa4..222ebada4 100644
--- a/include/queue.php
+++ b/include/queue.php
@@ -50,12 +50,13 @@ function queue_run($argv, $argc){
if($rr['outq_driver'] === 'post') {
$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);
+ logger('queue: queue post success to ' . $rr['outq_posturl'], LOGGER_DEBUG);
$y = q("delete from outq where outq_hash = '%s' limit 1",
dbesc($rr['ouq_hash'])
);
}
else {
+ logger('queue: queue post returned ' . $result['return_code'] . ' from ' . $rr['outq_posturl'],LOGGER_DEBUG);
$y = q("update outq set outq_updated = '%s' where outq_hash = '%s' limit 1",
dbesc(datetime_convert()),
dbesc($rr['outq_hash'])