use pconfig::delete in pumpio addon

This commit is contained in:
Tobias Diekershoff 2017-11-11 07:23:15 +01:00
parent 2b64efd907
commit 916c359eb0

View file

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