mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-06-07 09:54:27 +02:00
Move PConfig::set() to DI::pConfig()->set()
This commit is contained in:
parent
ea3a9052d8
commit
febc835a2d
42 changed files with 185 additions and 185 deletions
|
@ -35,8 +35,8 @@ function fromapp_settings_post($a, $post)
|
|||
return;
|
||||
}
|
||||
|
||||
PConfig::set(local_user(), 'fromapp', 'app', $_POST['fromapp-input']);
|
||||
PConfig::set(local_user(), 'fromapp', 'force', intval($_POST['fromapp-force']));
|
||||
DI::pConfig()->set(local_user(), 'fromapp', 'app', $_POST['fromapp-input']);
|
||||
DI::pConfig()->set(local_user(), 'fromapp', 'force', intval($_POST['fromapp-force']));
|
||||
|
||||
info(L10n::t('Fromapp settings updated.') . EOL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue