Merge pull request #6392 from annando/issueö6347
Issue 6347: Removing the old way to fetch Diaspora posts
This commit is contained in:
commit
06b20425e6
1 changed files with 1 additions and 8 deletions
|
@ -1326,16 +1326,9 @@ class Diaspora
|
|||
$x = false;
|
||||
}
|
||||
|
||||
// This will work for older Diaspora and Friendica servers
|
||||
if (!$x) {
|
||||
$source_url = $server."/p/".urlencode($guid).".xml";
|
||||
Logger::log("Fetch post from ".$source_url, Logger::DEBUG);
|
||||
|
||||
$x = Network::fetchUrl($source_url);
|
||||
if (!$x) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
$source_xml = XML::parseString($x);
|
||||
|
||||
|
|
Loading…
Reference in a new issue