Remove $binary flag for HTTPRequest::get(), HTTPRequest::fetch(), HTTPRequest::fetchAll() (deprecated since PHP 5.1.3)
This commit is contained in:
+1
-1
@@ -1590,7 +1590,7 @@ function pumpio_fetchallcomments(App $a, $uid, $id)
|
||||
|
||||
function pumpio_reachable($url)
|
||||
{
|
||||
return DI::httpRequest()->get($url, false, ['timeout' => 10])->isSuccess();
|
||||
return DI::httpRequest()->get($url, ['timeout' => 10])->isSuccess();
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user