]> git.mxchange.org Git - friendica.git/commitdiff
Issue 6347: Removing the old way to fetch Diaspora posts to avoid Hubzilla problems
authorMichael <heluecht@pirati.ca>
Sun, 6 Jan 2019 07:43:11 +0000 (07:43 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 6 Jan 2019 07:43:11 +0000 (07:43 +0000)
src/Protocol/Diaspora.php

index b4e494121a7fbf1a9d5adb5ad562bd87ad7f3d97..152bc385d8f9758922839c6ec7fcc0d3c27fb154 100644 (file)
@@ -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);