]> git.mxchange.org Git - friendica.git/commitdiff
FetchUrl is not FetchURL ...
authorMichael <heluecht@pirati.ca>
Sat, 27 Jan 2018 23:53:56 +0000 (23:53 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 27 Jan 2018 23:53:56 +0000 (23:53 +0000)
src/Content/Text/BBCode.php

index 7568cd716e53d0b8dbcd684afd5be6ed767035db..ce6b252218e64b6da789bd9fca03c3bf533c7ef7 100644 (file)
@@ -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;
                                }