FetchUrl is not FetchURL ...

This commit is contained in:
Michael 2018-01-27 23:53:56 +00:00
parent 52231c3a99
commit d6af08fb36

View file

@ -12,7 +12,7 @@ use Friendica\Core\PConfig;
use Friendica\Core\System; use Friendica\Core\System;
use Friendica\Object\Image; use Friendica\Object\Image;
use Friendica\Util\ParseUrl; use Friendica\Util\ParseUrl;
use Friendica\Content\OEmbed; use Friendica\Util\Network;
require_once "include/bbcode.php"; require_once "include/bbcode.php";
require_once "include/html2plain.php"; require_once "include/html2plain.php";
@ -511,7 +511,7 @@ class BBCode
} else { } else {
$scaled = $mtch[1]; $scaled = $mtch[1];
} }
$i = OEmbed::fetchURL($scaled); $i = Network::fetchUrl($scaled);
if (!$i) { if (!$i) {
return $srctext; return $srctext;
} }