forked from friendica/friendica-addons
use pconfig::delete in ifttt addon
This commit is contained in:
parent
d20e60ef91
commit
3a7fadec48
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ function ifttt_settings_post(&$a,&$b) {
|
||||||
|
|
||||||
if(x($_POST,'ifttt-submit'))
|
if(x($_POST,'ifttt-submit'))
|
||||||
if (isset($_POST['ifttt-rekey']))
|
if (isset($_POST['ifttt-rekey']))
|
||||||
del_pconfig(local_user(), 'ifttt', 'key');
|
PConfig::delete(local_user(), 'ifttt', 'key');
|
||||||
}
|
}
|
||||||
|
|
||||||
function ifttt_post(&$a) {
|
function ifttt_post(&$a) {
|
||||||
|
|
Loading…
Reference in a new issue