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

index 984ab4b4677d9393e637b157eba4551280e35c6f..0627b026af45fa2a34a2bafdded985f7975d3d22 100644 (file)
@@ -86,7 +86,7 @@ function fromgplus_addon_settings_post(&$a,&$b) {
                PConfig::set(local_user(),'fromgplus', 'keywords', $keywords);
 
                if (!$enable)
-                       del_pconfig(local_user(),'fromgplus','lastdate');
+                       PConfig::delete(local_user(),'fromgplus','lastdate');
 
                info( t('Google+ Import Settings saved.') . EOL);
        }