forked from friendica/friendica-addons
use pconfig::delete in pumpio addon
This commit is contained in:
parent
2b64efd907
commit
916c359eb0
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue