Move z_fetch_url
move z_fetch_url method
This commit is contained in:
@@ -12,16 +12,6 @@ use Friendica\Object\Image;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
function fetch_url($url, $binary = false, &$redirects = 0, $timeout = 0, $accept_content = null, $cookiejar = 0)
|
||||
{
|
||||
return Network::fetchURL($url, $binary, $redirects, $timeout, $accept_content, $cookiejar);
|
||||
}
|
||||
|
||||
function z_fetch_url($url, $binary = false, &$redirects = 0, $opts = [])
|
||||
{
|
||||
return Network::zFetchURL($url, $binary, $redirects, $opts);
|
||||
}
|
||||
|
||||
function post_url($url, $params, $headers = null, &$redirects = 0, $timeout = 0)
|
||||
{
|
||||
return Network::postURL($url, $params, $headers, $redirects, $timeout);
|
||||
|
||||
Reference in New Issue
Block a user