1
1
Fork 0

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

This commit is contained in:
Philipp Holzer 2020-01-19 21:21:53 +01:00
commit 3411ced833
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
29 changed files with 213 additions and 229 deletions

View file

@ -68,7 +68,7 @@ function api_content(App $a)
$consumer = new OAuthConsumer($app['client_id'], $app['pw'], $app['redirect_uri']);
$verifier = md5($app['secret'] . local_user());
Config::set("oauth", $verifier, local_user());
DI::config()->set("oauth", $verifier, local_user());
if ($consumer->callback_url != null) {
$params = $request->get_parameters();