]> git.mxchange.org Git - friendica.git/blobdiff - mod/notifications.php
Merge remote-tracking branch 'upstream/develop' into develop
[friendica.git] / mod / notifications.php
index 78b26b5d69930182082cab854f783c6d2b0327e0..47e4cd03405f867f2560f5588f3fd4fa3ac5b840 100644 (file)
@@ -9,9 +9,9 @@ require_once("include/NotificationsManager.php");
 require_once("include/contact_selectors.php");
 require_once("include/network.php");
 
-function notifications_post(&$a) {
+function notifications_post(App &$a) {
 
-       if(! local_user()) {
+       if (! local_user()) {
                goaway(z_root());
        }
 
@@ -65,9 +65,9 @@ function notifications_post(&$a) {
        }
 }
 
-function notifications_content(&$a) {
+function notifications_content(App &$a) {
 
-       if(! local_user()) {
+       if (! local_user()) {
                notice( t('Permission denied.') . EOL);
                return;
        }