use pconfig::delete in ifttt addon
This commit is contained in:
parent
d20e60ef91
commit
3a7fadec48
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue