X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fapi.php;h=cd5d5241f86c8faa231407c51b9e6540ce17ac7e;hb=737e40b4d9cb363eee831074b9c560bdbbdeba79;hp=406ef26c1c76adf22993b14e27da1badd1c87bb8;hpb=7141ce91635e071a54ec57b2971f9c745a996fc0;p=friendica.git diff --git a/mod/api.php b/mod/api.php index 406ef26c1c..cd5d5241f8 100644 --- a/mod/api.php +++ b/mod/api.php @@ -1,5 +1,7 @@ cmd=='api/oauth/authorize'){ /* * api/oauth/authorize interact with the user. return a standard page @@ -84,7 +86,7 @@ function api_content(&$a) { } - if(! local_user()) { + if (! local_user()) { /// @TODO We need login form to redirect to this page notice( t('Please login to continue.') . EOL ); return login(false,$request->get_parameters()); @@ -106,8 +108,6 @@ function api_content(&$a) { '$no' => t('No'), )); - //echo "
"; var_dump($app); killme(); - return $o; }