]> git.mxchange.org Git - friendica.git/blobdiff - mod/manage.php
Merge pull request #3121 from annando/1701-bugfix-config
[friendica.git] / mod / manage.php
index 2138595beefc914da535594ad14432cbb98ce068..4beb8e46c65384d545951fb39d7b72df37769dc6 100644 (file)
@@ -3,10 +3,11 @@
 require_once("include/text.php");
 
 
-function manage_post(&$a) {
+function manage_post(App $a) {
 
-       if(! local_user())
+       if (! local_user()) {
                return;
+       }
 
        $uid = local_user();
        $orig_record = $a->user;
@@ -91,9 +92,9 @@ function manage_post(&$a) {
 
 
 
-function manage_content(&$a) {
+function manage_content(App $a) {
 
-       if(! local_user()) {
+       if (! local_user()) {
                notice( t('Permission denied.') . EOL);
                return;
        }