From 9a4fc0f8bd95fbd8655b1dc8f022c81728203f37 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 6 Jan 2019 07:43:11 +0000 Subject: [PATCH] Issue 6347: Removing the old way to fetch Diaspora posts to avoid Hubzilla problems --- src/Protocol/Diaspora.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index b4e494121a..152bc385d8 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -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);