From: Tobias Diekershoff Date: Sat, 11 Nov 2017 06:21:47 +0000 (+0100) Subject: use pconfig::delete in ifttt addon X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3a7fadec48fe0ebdbd365febfc170a9f16e3acba;p=friendica-addons.git use pconfig::delete in ifttt addon --- diff --git a/ifttt/ifttt.php b/ifttt/ifttt.php index ddd517e2..2828d502 100644 --- a/ifttt/ifttt.php +++ b/ifttt/ifttt.php @@ -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) {