changed to this:
--------------------- function bla (App &$a) { $a->bla = 'stuff'; } --------------------- Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
fb0ed18a43
commit
4dce3d8224
121 changed files with 225 additions and 220 deletions
|
@ -2,7 +2,7 @@
|
|||
require_once('include/NotificationsManager.php');
|
||||
|
||||
|
||||
function notify_init(&$a) {
|
||||
function notify_init(App &$a) {
|
||||
if(! local_user()) return;
|
||||
$nm = new NotificationsManager();
|
||||
|
||||
|
@ -36,7 +36,7 @@ function notify_init(&$a) {
|
|||
|
||||
}
|
||||
|
||||
function notify_content(&$a) {
|
||||
function notify_content(App &$a) {
|
||||
if(! local_user()) return login();
|
||||
|
||||
$nm = new NotificationsManager();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue