From: Michael <heluecht@pirati.ca>
Date: Sat, 25 Mar 2017 10:11:02 +0000 (+0000)
Subject: Hypolite is right (not always, but in this case)
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a419bbe7c7f756d7b676f2d6a40722f29d7deb8a;p=friendica.git

Hypolite is right (not always, but in this case)
---

diff --git a/include/Probe.php b/include/Probe.php
index d08460a56b..c91b2cdf27 100644
--- a/include/Probe.php
+++ b/include/Probe.php
@@ -62,8 +62,6 @@ class Probe {
 		$ssl_url = "https://".$host."/.well-known/host-meta";
 		$url = "http://".$host."/.well-known/host-meta";
 
-		$baseurl = "http://".$host;
-
 		$xrd_timeout = Config::get('system','xrd_timeout', 20);
 		$redirects = 0;
 
@@ -110,7 +108,7 @@ class Probe {
 				$xrd_data["lrdd"] = $attributes["template"];
 		}
 
-		self::$baseurl = $baseurl;
+		self::$baseurl = "http://".$host;
 
 		return $xrd_data;
 	}