]> git.mxchange.org Git - friendica.git/blobdiff - mod/uimport.php
Normalize App parameter declaration (mod folder, 3 out of 3)
[friendica.git] / mod / uimport.php
index 15bc8322b97fdd3337c0293580e0f64cea59101a..e9934393e8a29e41435d32453f709124bbd872a0 100644 (file)
@@ -6,7 +6,7 @@
 \r
 require_once("include/uimport.php");\r
 \r
-function uimport_post(App &$a) {\r
+function uimport_post(App $a) {\r
        switch($a->config['register_policy']) {\r
         case REGISTER_OPEN:\r
             $blocked = 0;\r
@@ -28,7 +28,7 @@ function uimport_post(App &$a) {
             $verified = 0;\r
             break;\r
        }\r
-    \r
+\r
     if (x($_FILES,'accountfile')){\r
         /// @TODO Pass $blocked / $verified, send email to admin on REGISTER_APPROVE\r
         import_account($a, $_FILES['accountfile']);\r
@@ -36,8 +36,8 @@ function uimport_post(App &$a) {
     }\r
 }\r
 \r
-function uimport_content(App &$a) {\r
-       \r
+function uimport_content(App $a) {\r
+\r
        if((! local_user()) && ($a->config['register_policy'] == REGISTER_CLOSED)) {\r
                notice("Permission denied." . EOL);\r
                return;\r
@@ -52,8 +52,8 @@ function uimport_content(App &$a) {
                        return;\r
                }\r
        }\r
-       \r
-       \r
+\r
+\r
        if(x($_SESSION,'theme'))\r
                unset($_SESSION['theme']);\r
        if(x($_SESSION,'mobile-theme'))\r