]> git.mxchange.org Git - friendica.git/blobdiff - mod/api.php
Merge pull request #3349 from annando/1704-api-owner
[friendica.git] / mod / api.php
index 74a0cff6f4a17d3ecf1cb66e55eb1075320378f5..3916636cfd32f02bbdbdbfa1d28d4a1251db792a 100644 (file)
@@ -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