mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:50:12 +00:00
Normalize App parameter declaration (mod folder, 1 out of 3)
This commit is contained in:
parent
ee39aba490
commit
8a197055e3
42 changed files with 172 additions and 174 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue