From: Tobias Diekershoff Date: Sun, 6 Nov 2022 12:44:52 +0000 (+0100) Subject: we don't need the 20... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cdfd51310ea3dcebfd9dcbeac974f5c67832621e;p=friendica.git we don't need the 20... --- diff --git a/src/Worker/CheckRelMeProfileLink.php b/src/Worker/CheckRelMeProfileLink.php index 99b4317505..b047ff3a21 100644 --- a/src/Worker/CheckRelMeProfileLink.php +++ b/src/Worker/CheckRelMeProfileLink.php @@ -59,7 +59,7 @@ class CheckRelMeProfileLink $homepageUrlVerified = false; $owner = User::getOwnerDataById($uid); if (!empty($owner['homepage'])) { - $xrd_timeout = DI::config()->get('system', 'xrd_timeout' ?? 20); + $xrd_timeout = DI::config()->get('system', 'xrd_timeout'); $curlResult = DI::httpClient()->get($owner['homepage'], $accept_content = HttpClientAccept::HTML, [HttpClientOptions::TIMEOUT => $xrd_timeout]); if ($curlResult->isSuccess()) { $content = $curlResult->getBody();