Move PConfig::delete() to DI::pConfig()->delete()

This commit is contained in:
nupplaPhil 2020-01-18 16:56:45 +01:00
parent febc835a2d
commit 346bf125a7
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
7 changed files with 35 additions and 35 deletions

View file

@ -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');
}
}