mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 18:04:26 +02:00
Move Config::set() to DI::config()->set()
This commit is contained in:
parent
1ce63185ab
commit
75143e27b5
25 changed files with 75 additions and 75 deletions
|
@ -50,7 +50,7 @@ function pageheader_addon_admin_post(App $a)
|
|||
|
||||
if(!empty($_POST['pageheader-submit'])) {
|
||||
if (isset($_POST['pageheader-words'])) {
|
||||
Config::set('pageheader', 'text', trim(strip_tags($_POST['pageheader-words'])));
|
||||
DI::config()->set('pageheader', 'text', trim(strip_tags($_POST['pageheader-words'])));
|
||||
}
|
||||
info(DI::l10n()->t('pageheader Settings saved.'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue