mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
Move PConfig::delete() to DI::pConfig()->delete()
This commit is contained in:
parent
febc835a2d
commit
346bf125a7
7 changed files with 35 additions and 35 deletions
|
@ -30,7 +30,7 @@ function widgets_settings_post(){
|
|||
if(! local_user())
|
||||
return;
|
||||
if (isset($_POST['widgets-submit'])){
|
||||
PConfig::delete(local_user(), 'widgets', 'key');
|
||||
DI::pConfig()->delete(local_user(), 'widgets', 'key');
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue