diff options
Diffstat (limited to 'mod/pubsub.php')
-rw-r--r-- | mod/pubsub.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/pubsub.php b/mod/pubsub.php index f829eb4d9..edb0a7fe1 100644 --- a/mod/pubsub.php +++ b/mod/pubsub.php @@ -91,10 +91,10 @@ function pubsub_post(&$a) { logger('pubsub: user-agent: ' . $_SERVER['HTTP_USER_AGENT'] ); logger('pubsub: data: ' . $xml, LOGGER_DATA); - if(! stristr($xml,'<?xml')) { - logger('pubsub_post: bad xml'); - hub_post_return(); - } +// if(! stristr($xml,'<?xml')) { +// logger('pubsub_post: bad xml'); +// hub_post_return(); +// } $nick = (($a->argc > 1) ? notags(trim($a->argv[1])) : ''); $contact_id = (($a->argc > 2) ? intval($a->argv[2]) : 0 ); |