log ignored pubsub deliveries

This commit is contained in:
Friendika 2011-02-09 19:56:40 -08:00
parent de2c9531db
commit 40777b132b

View File

@ -105,8 +105,10 @@ function pubsub_post(&$a) {
intval($contact_id), intval($contact_id),
intval($importer['uid']) intval($importer['uid'])
); );
if(! count($r)) if(! count($r)) {
logger('pubsub: no contact record - ignored');
hub_post_return(); hub_post_return();
}
$contact = $r[0]; $contact = $r[0];