mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 19:38:49 +00:00
Rename "HTTPRequest::curl()" to HTTPRequest::get()
This commit is contained in:
parent
90193bd02b
commit
72c24efe5b
3 changed files with 4 additions and 4 deletions
|
@ -1604,7 +1604,7 @@ function pumpio_fetchallcomments(App $a, $uid, $id)
|
|||
|
||||
function pumpio_reachable($url)
|
||||
{
|
||||
return DI::httpRequest()->curl($url, false, ['timeout' => 10])->isSuccess();
|
||||
return DI::httpRequest()->get($url, false, ['timeout' => 10])->isSuccess();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue