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 916c359eb0 - Show all commits

View file

@ -348,7 +348,7 @@ function pumpio_settings_post(&$a,&$b) {
PConfig::set(local_user(),'pumpio','post_by_default',intval($_POST['pumpio_bydefault']));
if (!$_POST['pumpio_mirror'])
del_pconfig(local_user(),'pumpio','lastdate');
PConfig::delete(local_user(),'pumpio','lastdate');
//header("Location: ".$a->get_baseurl()."/pumpio/connect");
}