changed to this:

---------------------
function bla (App &$a) {
	$a->bla = 'stuff';
}
---------------------

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2016-12-20 10:58:55 +01:00
parent fb0ed18a43
commit 4dce3d8224
121 changed files with 225 additions and 220 deletions

View file

@ -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