From: Tobias Diekershoff Date: Sat, 11 Nov 2017 06:23:31 +0000 (+0100) Subject: use pconfig::delete in widgets addon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fa08537213c82dbdf982a19fd94b290c7a83746a;p=friendica-addons.git use pconfig::delete in widgets addon --- 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'); } }