From 916c359eb01bb17ca24ef279cc0282a9b63c8abd Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 11 Nov 2017 07:23:15 +0100 Subject: [PATCH] use pconfig::delete in pumpio addon --- pumpio/pumpio.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.39.5