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