Move Config::delete() to DI::config()->delete()

This commit is contained in:
nupplaPhil
2020-01-19 21:22:33 +01:00
parent 3411ced833
commit a6a2efa18a
5 changed files with 9 additions and 21 deletions

View File

@@ -177,7 +177,7 @@ class FKOAuthDataStore extends OAuthDataStore
DBA::delete('tokens', ['id' => $token->key]);
if (!is_null($ret) && !is_null($uverifier)) {
Config::delete("oauth", $verifier);
DI::config()->delete("oauth", $verifier);
}
return $ret;