use more PConfig::delete #446

Merged
tobiasd merged 6 commits from 20171111-delpconfig into master 2017-11-11 09:11:24 +01:00
Showing only changes of commit fa08537213 - Show all commits

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