1
0
Fork 0

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
commit 4dce3d8224
121 changed files with 225 additions and 220 deletions

View file

@ -1,5 +1,5 @@
<?php
function share_init(&$a) {
function share_init(App &$a) {
$post_id = (($a->argc > 1) ? intval($a->argv[1]) : 0);
if((! $post_id) || (! local_user()))