X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FProfile.php;h=9d1b002a7911ac5a53294b08f584e1853b69e02a;hb=71b1638d9a6cc44ab294116474c73c12d2df97f7;hp=5180a3ea2e002fcc9f4b8daf5b5cdffcdfd73140;hpb=63131189fcce660fb39ea15eb22fc9c766f02b27;p=friendica.git diff --git a/src/Model/Profile.php b/src/Model/Profile.php index 5180a3ea2e..9d1b002a79 100644 --- a/src/Model/Profile.php +++ b/src/Model/Profile.php @@ -20,10 +20,10 @@ use Friendica\Model\Contact; use Friendica\Protocol\Diaspora; use Friendica\Util\DateTimeFormat; use Friendica\Util\Network; +use Friendica\Util\Proxy as ProxyUtils; use Friendica\Util\Temporal; require_once 'include/dba.php'; -require_once 'mod/proxy.php'; class Profile { @@ -495,7 +495,7 @@ class Profile } if (isset($p['photo'])) { - $p['photo'] = proxy_url($p['photo'], false, PROXY_SIZE_SMALL); + $p['photo'] = ProxyUtils::proxifyUrl($p['photo'], false, ProxyUtils::SIZE_SMALL); } $p['url'] = Contact::magicLink(defaults($p, 'url', $profile_url));