mirror of
https://github.com/friendica/friendica
synced 2025-04-27 10:30:10 +00:00
changed to this:
--------------------- function bla (App &$a) { $a->bla = 'stuff'; } --------------------- Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
fb0ed18a43
commit
4dce3d8224
121 changed files with 225 additions and 220 deletions
|
@ -20,7 +20,7 @@ function oauth_get_client($request){
|
|||
return $r[0];
|
||||
}
|
||||
|
||||
function api_post(&$a) {
|
||||
function api_post(App &$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
notice( t('Permission denied.') . EOL);
|
||||
|
@ -34,7 +34,7 @@ function api_post(&$a) {
|
|||
|
||||
}
|
||||
|
||||
function api_content(&$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