use pconfig::delete in ifttt addon

pull/446/head
Tobias Diekershoff 2017-11-11 07:21:47 +01:00
parent d20e60ef91
commit 3a7fadec48
1 changed files with 1 additions and 1 deletions

View 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) {