<?php
-
+/**
+ * @file mod/community.php
+ */
use Friendica\App;
+use Friendica\Content\Nav;
use Friendica\Core\Config;
use Friendica\Core\PConfig;
use Friendica\Database\DBM;
$tab_tpl = get_markup_template('common_tabs.tpl');
$o .= replace_macros($tab_tpl, ['$tabs' => $tabs]);
- nav_set_selected('community');
+ Nav::setSelected('community');
// We need the editor here to be able to reshare an item.
if (local_user()) {