mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
Replace direct accesses to App->config by Config::get/set calls
This commit is contained in:
parent
d1f2d04803
commit
762a786611
29 changed files with 180 additions and 190 deletions
|
@ -268,7 +268,7 @@ function frio_remote_nav($a, &$nav)
|
|||
$nav['messages'] = [$server_url . '/message', L10n::t('Messages'), '', L10n::t('Private mail')];
|
||||
$nav['settings'] = [$server_url . '/settings', L10n::t('Settings'), '', L10n::t('Account settings')];
|
||||
$nav['contacts'] = [$server_url . '/contacts', L10n::t('Contacts'), '', L10n::t('Manage/edit friends and contacts')];
|
||||
$nav['sitename'] = $a->config['sitename'];
|
||||
$nav['sitename'] = Config::get('config', 'sitename');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue