use pconfig::delete in pumpio addon

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

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