From cdfd51310ea3dcebfd9dcbeac974f5c67832621e Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 6 Nov 2022 13:44:52 +0100 Subject: [PATCH] we don't need the 20... --- src/Worker/CheckRelMeProfileLink.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Worker/CheckRelMeProfileLink.php b/src/Worker/CheckRelMeProfileLink.php index 99b431750..b047ff3a2 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();