use more PConfig::delete #446
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ function widgets_settings_post(){
|
|||
if(! local_user())
|
||||
return;
|
||||
if (isset($_POST['widgets-submit'])){
|
||||
del_pconfig(local_user(), 'widgets', 'key');
|
||||
PConfig::delete(local_user(), 'widgets', 'key');
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue