X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fvier%2Ftheme.php;h=65612623d2d9200e7693e0d9f130db9641e45dbe;hb=59268c600cc93591006b7f0f0e9de3a0344e7d4f;hp=006450edfcfd62f2a06b94a25b43f78d19b4948b;hpb=57a207fd8ce74396c3ae8bdfd6ef8e43dceebb17;p=friendica.git diff --git a/view/theme/vier/theme.php b/view/theme/vier/theme.php index 006450edfc..65612623d2 100644 --- a/view/theme/vier/theme.php +++ b/view/theme/vier/theme.php @@ -42,8 +42,6 @@ use Friendica\Util\Strings; function vier_init(App $a) { - $a->setThemeInfoValue('events_in_profile', false); - Renderer::setActiveTemplateEngine('smarty3'); $args = DI::args(); @@ -144,7 +142,7 @@ function vier_community_info() // comunity_profiles if ($show_profiles) { - $contacts = Contact\Relation::getSuggestions(DI::userSession()->getLocalUserId(), 0, 9); + $contacts = Contact\Relation::getCachedSuggestions(DI::userSession()->getLocalUserId(), 0, 9); $tpl = Renderer::getMarkupTemplate('ch_directory_item.tpl'); if (DBA::isResult($contacts)) {