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

@@ -5,7 +5,7 @@ require_once('include/Contact.php');
require_once('include/contact_selectors.php');
require_once('mod/contacts.php');
function allfriends_content(&$a) {
function allfriends_content(App &$a) {
$o = '';
if(! local_user()) {
@@ -19,7 +19,7 @@ function allfriends_content(&$a) {
if(! $cid)
return;
$uid = $a->user[uid];
$uid = $a->user['uid'];
$c = q("SELECT `name`, `url`, `photo` FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",
intval($cid),