X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fapi.php;h=3916636cfd32f02bbdbdbfa1d28d4a1251db792a;hb=1955d3d1b80b4cae07ad0903cc60bbbbe44debfd;hp=74a0cff6f4a17d3ecf1cb66e55eb1075320378f5;hpb=20e71d21a6206c03f2137eb82edf8f8b3bc644f2;p=friendica.git diff --git a/mod/api.php b/mod/api.php index 74a0cff6f4..3916636cfd 100644 --- a/mod/api.php +++ b/mod/api.php @@ -20,7 +20,7 @@ function oauth_get_client($request){ return $r[0]; } -function api_post(App &$a) { +function api_post(App $a) { if (! local_user()) { notice( t('Permission denied.') . EOL); @@ -34,7 +34,7 @@ function api_post(App &$a) { } -function api_content(App &$a) { +function api_content(App $a) { if ($a->cmd=='api/oauth/authorize'){ /* * api/oauth/authorize interact with the user. return a standard page