]> git.mxchange.org Git - friendica.git/blobdiff - mod/api.php
removal of useless variable
[friendica.git] / mod / api.php
index 406ef26c1c76adf22993b14e27da1badd1c87bb8..caa1cba2a6625e13d1f85029342bd87814337fd5 100644 (file)
@@ -22,7 +22,7 @@ function oauth_get_client($request){
 
 function api_post(&$a) {
 
-       if(! local_user()) {
+       if (! local_user()) {
                notice( t('Permission denied.') . EOL);
                return;
        }
@@ -84,7 +84,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());