mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 08:58:49 +00: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
|
@ -62,7 +62,7 @@ function remote_permissions_settings_post($a,$post) {
|
|||
if(! local_user() || empty($_POST['remote-perms-submit']))
|
||||
return;
|
||||
|
||||
PConfig::set(local_user(),'remote_perms','show',intval($_POST['remote-perms']));
|
||||
DI::pConfig()->set(local_user(),'remote_perms','show',intval($_POST['remote-perms']));
|
||||
info(L10n::t('Remote Permissions settings updated.') . EOL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue