we don't need the 20...
This commit is contained in:
parent
594c17546b
commit
cdfd51310e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue