mirror of
https://github.com/friendica/friendica
synced 2025-04-27 13:10:10 +00:00
Unneeded "ProxyUtils" renamed to "Proxy"
This commit is contained in:
parent
430e6c3285
commit
ab17fbf6b2
9 changed files with 25 additions and 27 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue