]> git.mxchange.org Git - friendica.git/blobdiff - mod/manage.php
Changed $a->get_baseurl() to App::get_baseurl()
[friendica.git] / mod / manage.php
index 3eecfbb7150c939ffb3c6d6f964f1519e395677c..835a7fbcb7b781c0ad988692d3a2a702494417c8 100644 (file)
@@ -5,8 +5,9 @@ require_once("include/text.php");
 
 function manage_post(App &$a) {
 
-       if(! local_user())
+       if (! local_user()) {
                return;
+       }
 
        $uid = local_user();
        $orig_record = $a->user;
@@ -93,7 +94,7 @@ function manage_post(App &$a) {
 
 function manage_content(App &$a) {
 
-       if(! local_user()) {
+       if (! local_user()) {
                notice( t('Permission denied.') . EOL);
                return;
        }