X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fapi.php;h=cda97c729ce9bb5bfc80c622ede8530de4387938;hb=f22fe7118d52251dbd0898279ef078b797885ec4;hp=74a0cff6f4a17d3ecf1cb66e55eb1075320378f5;hpb=8ec5b06e0440302cef9f6bc2f35730fca5a9030e;p=friendica.git diff --git a/mod/api.php b/mod/api.php index 74a0cff6f4..cda97c729c 100644 --- a/mod/api.php +++ b/mod/api.php @@ -1,5 +1,9 @@ cmd=='api/oauth/authorize'){ /* * api/oauth/authorize interact with the user. return a standard page @@ -58,7 +62,7 @@ function api_content(App &$a) { $consumer = new OAuthConsumer($app['client_id'], $app['pw'], $app['redirect_uri']); $verifier = md5($app['secret'].local_user()); - set_config("oauth", $verifier, local_user()); + Config::set("oauth", $verifier, local_user()); if ($consumer->callback_url!=null) { @@ -106,8 +110,6 @@ function api_content(App &$a) { '$no' => t('No'), )); - //echo "
"; var_dump($app); killme();
-
 		return $o;
 	}