mirror of
https://github.com/friendica/friendica
synced 2025-05-11 05:04:10 +02:00
Merge branch '2019.01-rc' into bug/6334-escape-get-app
This commit is contained in:
commit
e447375cdd
27 changed files with 136 additions and 72 deletions
|
@ -1326,15 +1326,8 @@ 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;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
$source_xml = XML::parseString($x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue