]> git.mxchange.org Git - friendica-addons.git/commitdiff
Rename HTTPRequestOptions to HTTPClientOptions
authorPhilipp <admin@philipp.info>
Wed, 25 Aug 2021 19:45:15 +0000 (21:45 +0200)
committerPhilipp <admin@philipp.info>
Wed, 25 Aug 2021 19:45:15 +0000 (21:45 +0200)
pumpio/pumpio.php

index d93aa16dbd4817736158f45d094743ed874d748b..bf6bfda367e27e2b4d38d4b5561023ae1d4c7bba 100644 (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();
 }
 
 /*