aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-09 19:56:40 -0800
committerFriendika <info@friendika.com>2011-02-09 19:56:40 -0800
commit40777b132b86cb832c0ce18b9a65a137a085a41b (patch)
tree33b92aeb638a9b14713e1f8afdebea02af8c431e
parentde2c9531db2332f0c0e944add6f9d85e88476dff (diff)
downloadvolse-hubzilla-40777b132b86cb832c0ce18b9a65a137a085a41b.tar.gz
volse-hubzilla-40777b132b86cb832c0ce18b9a65a137a085a41b.tar.bz2
volse-hubzilla-40777b132b86cb832c0ce18b9a65a137a085a41b.zip
log ignored pubsub deliveries
-rw-r--r--mod/pubsub.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/pubsub.php b/mod/pubsub.php
index 4f4ed2f16..df27c6bc2 100644
--- a/mod/pubsub.php
+++ b/mod/pubsub.php
@@ -105,8 +105,10 @@ function pubsub_post(&$a) {
intval($contact_id),
intval($importer['uid'])
);
- if(! count($r))
+ if(! count($r)) {
+ logger('pubsub: no contact record - ignored');
hub_post_return();
+ }
$contact = $r[0];