]> git.mxchange.org Git - friendica.git/blobdiff - mod/notes.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / mod / notes.php
index 74ab18a6f95f0aeeb16418b584709163a471c981..b2aa5487af963e60d1b456dbf39ec1b258b20aea 100644 (file)
@@ -1,9 +1,10 @@
 <?php
 
-function notes_init(&$a) {
+function notes_init(App &$a) {
 
-       if(! local_user())
+       if (! local_user()) {
                return;
+       }
 
        $profile = 0;
 
@@ -18,7 +19,7 @@ function notes_init(&$a) {
 
 function notes_content(&$a,$update = false) {
 
-       if(! local_user()) {
+       if (! local_user()) {
                notice( t('Permission denied.') . EOL);
                return;
        }