Rename HTTPRequestOptions to HTTPClientOptions

pull/1161/head
Philipp 2021-08-25 21:45:15 +02:00
parent e3980a6d87
commit 9c266e59cf
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
1 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ use Friendica\Model\Group;
use Friendica\Model\Item;
use Friendica\Model\Post;
use Friendica\Model\User;
use Friendica\Network\HTTPRequestOptions;
use Friendica\Network\HTTPClientOptions;
use Friendica\Protocol\Activity;
use Friendica\Protocol\ActivityNamespace;
use Friendica\Util\ConfigFileLoader;
@ -1594,7 +1594,7 @@ function pumpio_fetchallcomments(App $a, $uid, $id)
function pumpio_reachable($url)
{
return DI::httpRequest()->get($url, [HTTPRequestOptions::TIMEOUT => 10])->isSuccess();
return DI::httpRequest()->get($url, [HTTPClientOptions::TIMEOUT => 10])->isSuccess();
}
/*