mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 02:18:48 +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
|
@ -41,7 +41,7 @@ function numfriends_settings_post($a,$post) {
|
|||
if(! local_user() || empty($_POST['numfriends-submit']))
|
||||
return;
|
||||
|
||||
PConfig::set(local_user(),'system','display_friend_count',intval($_POST['numfriends']));
|
||||
DI::pConfig()->set(local_user(),'system','display_friend_count',intval($_POST['numfriends']));
|
||||
info( L10n::t('Numfriends settings updated.') . EOL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue