mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-26 02:03:16 +00:00
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']));
|
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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue