From fa08537213c82dbdf982a19fd94b290c7a83746a Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 11 Nov 2017 07:23:31 +0100 Subject: [PATCH] use pconfig::delete in widgets addon --- widgets/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/widgets.php b/widgets/widgets.php index e6293244..a232d9e6 100755 --- a/widgets/widgets.php +++ b/widgets/widgets.php @@ -23,7 +23,7 @@ function widgets_settings_post(){ if(! local_user()) return; if (isset($_POST['widgets-submit'])){ - del_pconfig(local_user(), 'widgets', 'key'); + PConfig::delete(local_user(), 'widgets', 'key'); } } -- 2.39.2