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

index ddd517e2603bcd333a965172a33fd6d0e2698597..2828d5026562719a2ca69c2bef36e9361a8c1f91 100644 (file)
@@ -77,7 +77,7 @@ function ifttt_settings_post(&$a,&$b) {
 
         if(x($_POST,'ifttt-submit'))
                 if (isset($_POST['ifttt-rekey']))
-                        del_pconfig(local_user(), 'ifttt', 'key');
+                        PConfig::delete(local_user(), 'ifttt', 'key');
 }
 
 function ifttt_post(&$a) {