aboutsummaryrefslogtreecommitdiffstats
path: root/include/deliver.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-01 22:02:36 -0700
committerfriendica <info@friendica.com>2014-07-01 22:02:36 -0700
commit7a082394c3d8451c27d408eebe02eacb5449174f (patch)
tree80cbb7db8fa828043710c079dc606d809d89ba54 /include/deliver.php
parentee6fd1d6e5fdb9475e8e1eb8e32411c5ccb5adc8 (diff)
downloadvolse-hubzilla-7a082394c3d8451c27d408eebe02eacb5449174f.tar.gz
volse-hubzilla-7a082394c3d8451c27d408eebe02eacb5449174f.tar.bz2
volse-hubzilla-7a082394c3d8451c27d408eebe02eacb5449174f.zip
minor adjustments
Diffstat (limited to 'include/deliver.php')
-rw-r--r--include/deliver.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/deliver.php b/include/deliver.php
index b0d15e1ef..0ad008c23 100644
--- a/include/deliver.php
+++ b/include/deliver.php
@@ -13,7 +13,7 @@ function deliver_run($argv, $argc) {
if($argc < 2)
return;
- logger('deliver: invoked: ' . print_r($argv,true), LOGGER_DEBUG);
+ logger('deliver: invoked: ' . print_r($argv,true), LOGGER_DATA);
for($x = 1; $x < $argc; $x ++) {
$r = q("select * from outq where outq_hash = '%s' limit 1",
@@ -21,6 +21,7 @@ function deliver_run($argv, $argc) {
);
if($r) {
if($r[0]['outq_posturl'] === z_root() . '/post') {
+ logger('deliver: local delivery', LOGGER_DEBUG);
// local delivery
// we should probably batch these and save a few delivery processes
// If there is no outq_msg, this is a refresh_all message which does not require local handling
@@ -34,6 +35,7 @@ function deliver_run($argv, $argc) {
}
}
else {
+ logger('deliver: dest: ' . $r[0]['outq_posturl'], LOGGER_DEBUG);
$result = zot_zot($r[0]['outq_posturl'],$r[0]['outq_notify']);
if($result['success']) {
zot_process_response($r[0]['outq_posturl'],$result, $r[0]);