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

index ff9a3ac383c6baa0c9f8e86bd52b8216cf49f7d1..81b5e107e582eaadd28ba234223c92cfeeb0117f 100644 (file)
@@ -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");
                }