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
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
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;