Move PConfig::delete() to DI::pConfig()->delete()
This commit is contained in:
@@ -89,7 +89,7 @@ function ifttt_settings(App $a, &$s)
|
||||
function ifttt_settings_post()
|
||||
{
|
||||
if (!empty($_POST['ifttt-submit']) && isset($_POST['ifttt-rekey'])) {
|
||||
PConfig::delete(local_user(), 'ifttt', 'key');
|
||||
DI::pConfig()->delete(local_user(), 'ifttt', 'key');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user