]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/vier/theme.php
[frio] Update description, version, maintainer and screenshot
[friendica.git] / view / theme / vier / theme.php
index 006450edfcfd62f2a06b94a25b43f78d19b4948b..65612623d2d9200e7693e0d9f130db9641e45dbe 100644 (file)
@@ -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)) {