Move z_fetch_url
move z_fetch_url method
This commit is contained in:
parent
c67452f72e
commit
2f9642392d
14 changed files with 58 additions and 60 deletions
|
@ -8,6 +8,7 @@ namespace Friendica\Util;
|
|||
use Friendica\Content\OEmbed;
|
||||
use Friendica\Core\Addon;
|
||||
use Friendica\Object\Image;
|
||||
use Friendica\Util\Network;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
use dba;
|
||||
|
@ -145,7 +146,7 @@ class ParseUrl
|
|||
$siteinfo["url"] = $url;
|
||||
$siteinfo["type"] = "link";
|
||||
|
||||
$data = z_fetch_url($url);
|
||||
$data = Network::zFetchURL($url);
|
||||
if (!$data['success']) {
|
||||
return($siteinfo);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue