mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 00:13:42 +00:00
Rename HTTPRequestOptions to HTTPClientOptions
This commit is contained in:
parent
e3980a6d87
commit
9c266e59cf
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ use Friendica\Model\Group;
|
||||||
use Friendica\Model\Item;
|
use Friendica\Model\Item;
|
||||||
use Friendica\Model\Post;
|
use Friendica\Model\Post;
|
||||||
use Friendica\Model\User;
|
use Friendica\Model\User;
|
||||||
use Friendica\Network\HTTPRequestOptions;
|
use Friendica\Network\HTTPClientOptions;
|
||||||
use Friendica\Protocol\Activity;
|
use Friendica\Protocol\Activity;
|
||||||
use Friendica\Protocol\ActivityNamespace;
|
use Friendica\Protocol\ActivityNamespace;
|
||||||
use Friendica\Util\ConfigFileLoader;
|
use Friendica\Util\ConfigFileLoader;
|
||||||
|
@ -1594,7 +1594,7 @@ function pumpio_fetchallcomments(App $a, $uid, $id)
|
||||||
|
|
||||||
function pumpio_reachable($url)
|
function pumpio_reachable($url)
|
||||||
{
|
{
|
||||||
return DI::httpRequest()->get($url, [HTTPRequestOptions::TIMEOUT => 10])->isSuccess();
|
return DI::httpRequest()->get($url, [HTTPClientOptions::TIMEOUT => 10])->isSuccess();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue