mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 14:23:47 +00:00
Merge pull request #488 from MrPetovan/task/fix-scrutinizer-issues
Remove App::get_cached_avatar_image method
This commit is contained in:
commit
38db18b624
2 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ function communityhome_home(&$a, &$o){
|
||||||
$entry = replace_macros($tpl,[
|
$entry = replace_macros($tpl,[
|
||||||
'$id' => $rr['id'],
|
'$id' => $rr['id'],
|
||||||
'$profile_link' => $profile_link,
|
'$profile_link' => $profile_link,
|
||||||
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
|
'$photo' => $rr[$photo],
|
||||||
'$alt_text' => $rr['name'],
|
'$alt_text' => $rr['name'],
|
||||||
]);
|
]);
|
||||||
$aside['$lastusers_items'][] = $entry;
|
$aside['$lastusers_items'][] = $entry;
|
||||||
|
|
|
@ -171,7 +171,7 @@ function forumdirectory_content(&$a) {
|
||||||
$entry = replace_macros($tpl,[
|
$entry = replace_macros($tpl,[
|
||||||
'$id' => $rr['id'],
|
'$id' => $rr['id'],
|
||||||
'$profile_link' => $profile_link,
|
'$profile_link' => $profile_link,
|
||||||
'$photo' => $a->get_cached_avatar_image($rr[$photo]),
|
'$photo' => $rr[$photo],
|
||||||
'$alt_text' => $rr['name'],
|
'$alt_text' => $rr['name'],
|
||||||
'$name' => $rr['name'],
|
'$name' => $rr['name'],
|
||||||
'$details' => $pdesc . $details,
|
'$details' => $pdesc . $details,
|
||||||
|
|
Loading…
Reference in a new issue