From e9d7a1fa455bbd2de8db613a70beb5d6d752bb18 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 16 Jan 2018 19:22:36 -0500 Subject: [PATCH] Remove App::get_cached_avatar_image method --- communityhome/communityhome.php | 2 +- forumdirectory/forumdirectory.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/communityhome/communityhome.php b/communityhome/communityhome.php index 7cfb3d23..8364392b 100644 --- a/communityhome/communityhome.php +++ b/communityhome/communityhome.php @@ -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; diff --git a/forumdirectory/forumdirectory.php b/forumdirectory/forumdirectory.php index c7951b79..890c3d61 100644 --- a/forumdirectory/forumdirectory.php +++ b/forumdirectory/forumdirectory.php @@ -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, -- 2.39.2