Unneeded "ProxyUtils" renamed to "Proxy"

This commit is contained in:
Michael 2021-10-05 20:18:19 +00:00
parent 430e6c3285
commit ab17fbf6b2
9 changed files with 25 additions and 27 deletions

View file

@ -35,7 +35,7 @@ use Friendica\DI;
use Friendica\Util\DateTimeFormat;
use Friendica\Util\Network;
use Friendica\Util\ParseUrl;
use Friendica\Util\Proxy as ProxyUtils;
use Friendica\Util\Proxy;
use Friendica\Util\Strings;
/**
@ -236,14 +236,14 @@ class OEmbed
break;
case "photo":
$ret .= '<img width="' . $oembed->width . '" src="' . ProxyUtils::proxifyUrl($oembed->url) . '">';
$ret .= '<img width="' . $oembed->width . '" src="' . Proxy::proxifyUrl($oembed->url) . '">';
break;
case "link":
break;
case "rich":
$ret .= ProxyUtils::proxifyHtml($oembed->html);
$ret .= Proxy::proxifyHtml($oembed->html);
break;
}