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 committed by Roland Haeder
parent 9b6ad2fc47
commit 9fad8109ff
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78
8 changed files with 18 additions and 27 deletions

View file

@ -1,12 +1,10 @@
<?php
require_once('include/NotificationsManager.php');
function notify_init(App &$a) {
if (! local_user()) {
return;
}
$nm = new NotificationsManager();
if ($a->argc > 2 && $a->argv[1] === 'view' && intval($a->argv[2])) {