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

@ -17,7 +17,7 @@ require_once('include/Scrape.php');
require_once('include/Probe.php');
require_once('include/group.php');
function dfrn_request_init(&$a) {
function dfrn_request_init(App &$a) {
if($a->argc > 1)
$which = $a->argv[1];
@ -42,7 +42,7 @@ function dfrn_request_init(&$a) {
* After logging in, we click 'submit' to approve the linkage.
*
*/
function dfrn_request_post(&$a) {
function dfrn_request_post(App &$a) {
if(($a->argc != 2) || (! count($a->profile))) {
logger('Wrong count of argc or profiles: argc=' . $a->argc . ',profile()=' . count($a->profile));
@ -654,7 +654,7 @@ function dfrn_request_post(&$a) {
}
function dfrn_request_content(&$a) {
function dfrn_request_content(App &$a) {
if (($a->argc != 2) || (! count($a->profile))) {
return "";