mirror of
https://github.com/friendica/friendica
synced 2025-04-25 11:10:11 +00:00
Features to src
Move Features to class in Friendica\Content namespace. Update function calls and references.
This commit is contained in:
parent
2685c9bb1c
commit
2f0da29c75
24 changed files with 241 additions and 211 deletions
|
@ -1,6 +1,9 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file include/nav.php
|
||||
*/
|
||||
use Friendica\App;
|
||||
use Friendica\Content\Features;
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Core\System;
|
||||
use Friendica\Database\DBM;
|
||||
|
@ -190,7 +193,7 @@ function nav_info(App $a)
|
|||
|
||||
$nav['settings'] = array('settings', t('Settings'), '', t('Account settings'));
|
||||
|
||||
if (feature_enabled(local_user(), 'multi_profiles')) {
|
||||
if (Features::isEnabled(local_user(), 'multi_profiles')) {
|
||||
$nav['profiles'] = array('profiles', t('Profiles'), '', t('Manage/Edit Profiles'));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue