Further simplification
This commit is contained in:
parent
12173df4d3
commit
d0136222e7
1 changed files with 0 additions and 2 deletions
|
@ -1022,8 +1022,6 @@ class BBCode
|
|||
|
||||
if (!empty($author_contact['id'])) {
|
||||
$attributes['avatar'] = Contact::getAvatarUrlForId($author_contact['id'], ProxyUtils::SIZE_THUMB);
|
||||
} elseif ($attributes['avatar'] && $uriid) {
|
||||
$attributes['avatar'] = Post\Link::getByLink($uriid, $attributes['avatar'], ProxyUtils::SIZE_THUMB);
|
||||
} elseif ($attributes['avatar']) {
|
||||
$attributes['avatar'] = self::proxyUrl($attributes['avatar'], self::INTERNAL, $uriid, ProxyUtils::SIZE_THUMB);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue