Remove App::get_cached_avatar_image method

pull/488/head
Hypolite Petovan 2018-01-16 19:22:36 -05:00
parent 461b3db9f4
commit e9d7a1fa45
2 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ function communityhome_home(&$a, &$o){
$entry = replace_macros($tpl,[
'$id' => $rr['id'],
'$profile_link' => $profile_link,
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
'$photo' => $rr[$photo],
'$alt_text' => $rr['name'],
]);
$aside['$lastusers_items'][] = $entry;

View File

@ -171,7 +171,7 @@ function forumdirectory_content(&$a) {
$entry = replace_macros($tpl,[
'$id' => $rr['id'],
'$profile_link' => $profile_link,
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
'$photo' => $rr[$photo],
'$alt_text' => $rr['name'],
'$name' => $rr['name'],
'$details' => $pdesc . $details,