From: Philipp Date: Wed, 25 Aug 2021 19:45:15 +0000 (+0200) Subject: Rename HTTPRequestOptions to HTTPClientOptions X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9c266e59cfa7939af7120506f9833448ca1615e3;p=friendica-addons.git Rename HTTPRequestOptions to HTTPClientOptions --- diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index d93aa16d..bf6bfda3 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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(); } /*