]> git.mxchange.org Git - friendica.git/blobdiff - mod/follow.php
[WIP] Rewrite to Proxy class: (#5507)
[friendica.git] / mod / follow.php
index 6f938ebbbea77a1f770b396a9b347cd09269e52b..15a5b2f40170d6fc76b8bb3e99849a6095daed0a 100644 (file)
@@ -10,6 +10,7 @@ use Friendica\Model\Contact;
 use Friendica\Model\Profile;
 use Friendica\Network\Probe;
 use Friendica\Database\DBA;
+use Friendica\Util\Proxy as ProxyUtils;
 
 function follow_post(App $a)
 {
@@ -144,7 +145,7 @@ function follow_content(App $a)
 
        $o = replace_macros($tpl, [
                '$header'        => htmlentities($header),
-               //'$photo' => proxy_url($ret['photo'], false, PROXY_SIZE_SMALL),
+               //'$photo'         => ProxyUtils::proxifyUrl($ret['photo'], false, ProxyUtils::SIZE_SMALL),
                '$desc'          => '',
                '$pls_answer'    => L10n::t('Please answer the following:'),
                '$does_know_you' => ['knowyou', L10n::t('Does %s know you?', $ret['name']), false, '', [L10n::t('No'), L10n::t('Yes')]],