From: Michael Date: Sat, 27 Jan 2018 23:53:56 +0000 (+0000) Subject: FetchUrl is not FetchURL ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d6af08fb366173261eb92a58a2822f58b6ef4560;p=friendica.git FetchUrl is not FetchURL ... --- diff --git a/src/Content/Text/BBCode.php b/src/Content/Text/BBCode.php index 7568cd716e..ce6b252218 100644 --- a/src/Content/Text/BBCode.php +++ b/src/Content/Text/BBCode.php @@ -12,7 +12,7 @@ use Friendica\Core\PConfig; use Friendica\Core\System; use Friendica\Object\Image; use Friendica\Util\ParseUrl; -use Friendica\Content\OEmbed; +use Friendica\Util\Network; require_once "include/bbcode.php"; require_once "include/html2plain.php"; @@ -511,8 +511,8 @@ class BBCode } else { $scaled = $mtch[1]; } - $i = OEmbed::fetchURL($scaled); - if (! $i) { + $i = Network::fetchUrl($scaled); + if (!$i) { return $srctext; }