use pconfig::delete in widgets addon

pull/446/head
Tobias Diekershoff 2017-11-11 07:23:31 +01:00
parent 916c359eb0
commit fa08537213
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}
}