]> git.mxchange.org Git - friendica-addons.git/commitdiff
use pconfig::delete in widgets addon
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 11 Nov 2017 06:23:31 +0000 (07:23 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sat, 11 Nov 2017 06:23:31 +0000 (07:23 +0100)
widgets/widgets.php

index e62932448efc5f2badd7d21e7a3a63c8aaf3ce92..a232d9e6c381cf2baab0f7c5c8c42ba73649eece 100755 (executable)
@@ -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');
                
        }
 }