diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-14 10:37:54 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-06-14 10:37:54 +0200 |
commit | b1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac (patch) | |
tree | 07165e07f3c2e57e4719310195f1f2fd0a211c8d /mod/pubsub.php | |
parent | 5882d8d022c14a12ba7b314c96289061bd195ed4 (diff) | |
parent | 9b9bd35cba293b86c871c2cfbe15e6d9c4673a7d (diff) | |
download | volse-hubzilla-b1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac.tar.gz volse-hubzilla-b1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac.tar.bz2 volse-hubzilla-b1184f3fdeb4dcc6126b7ea8d7ac1a2980c9cbac.zip |
Merge remote-tracking branch 'friendika-master/master' into admin
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 ); |