From: Tobias Diekershoff Date: Sat, 11 Nov 2017 06:23:15 +0000 (+0100) Subject: use pconfig::delete in pumpio addon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=916c359eb01bb17ca24ef279cc0282a9b63c8abd;p=friendica-addons.git use pconfig::delete in pumpio addon --- diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index ff9a3ac3..81b5e107 100644 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -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"); }