]> git.mxchange.org Git - friendica-addons.git/commitdiff
Remove App::get_cached_avatar_image method
authorHypolite Petovan <mrpetovan@gmail.com>
Wed, 17 Jan 2018 00:22:36 +0000 (19:22 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Wed, 17 Jan 2018 00:22:36 +0000 (19:22 -0500)
communityhome/communityhome.php
forumdirectory/forumdirectory.php

index 7cfb3d234fd158df854798d37c4fd7b516a84bc9..8364392bd2402726cf4c7562539db9647584b4ff 100644 (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;
index c7951b795fffbc37999e8e3a9a179ed47616a147..890c3d61b04c2610e45bf288602b4772107986ef 100644 (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,