Removed stuff

This commit is contained in:
Michael 2020-01-08 23:22:13 +00:00
parent 3bf7664ee3
commit 80c330e6e3

View 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);
}