log the recursive reshare from hell at logger_debug until we get through this mess.
This commit is contained in:
parent
fa75d43b81
commit
b595f9d3ee
@ -907,12 +907,12 @@ function get_diaspora_reshare_xml($url,$recurse = 0) {
|
||||
|
||||
$x = z_fetch_url($url);
|
||||
if(! $x['success'])
|
||||
$x = z_fetch_url(str_replace('https://','http://',$source_url));
|
||||
$x = z_fetch_url(str_replace('https://','http://',$url));
|
||||
if(! $x['success']) {
|
||||
logger('get_diaspora_reshare_xml: unable to fetch source url ' . $source_url);
|
||||
logger('get_diaspora_reshare_xml: unable to fetch source url ' . $url);
|
||||
return;
|
||||
}
|
||||
logger('diaspora_reshare: source: ' . $x['body'], LOGGER_DATA);
|
||||
logger('get_diaspora_reshare_xml: source: ' . $x['body'], LOGGER_DEBUG);
|
||||
|
||||
$source_xml = parse_xml_string($x['body'],false);
|
||||
|
||||
|
Reference in New Issue
Block a user