]> git.mxchange.org Git - friendica.git/commitdiff
Removed stuff
authorMichael <heluecht@pirati.ca>
Wed, 8 Jan 2020 23:22:13 +0000 (23:22 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 8 Jan 2020 23:22:13 +0000 (23:22 +0000)
src/Content/Text/BBCode.php

index 46eb95bd308d2f9e13c78a6fec41ea2125fc08de..51fa08ad3d3afe9fbdb06c580b8384c267eff0f6 100644 (file)
@@ -967,9 +967,6 @@ class BBCode
                                $attributes['avatar']   = ($author_contact['micro'] ?? '') ?: $attributes['avatar'];
                                $attributes['profile']  = ($author_contact['url']   ?? '') ?: $attributes['profile'];
 
-                               // $author_contact['url'] could be empty. So then we fill it with the profile
-                               $author_contact['url']  = ($attributes['profile']   ?? '') ?: $author_contact['url'];
-
                                if ($attributes['avatar']) {
                                        $attributes['avatar'] = ProxyUtils::proxifyUrl($attributes['avatar'], false, ProxyUtils::SIZE_THUMB);
                                }