]> git.mxchange.org Git - friendica.git/blobdiff - mod/login.php
the Quattro admin_user template was missing the users note for the admin
[friendica.git] / mod / login.php
index 47c329eb63c75dd99efea1a254c17997064bf1b2..8fd28c72304c9015a3261635d7a2dd5b558026e7 100644 (file)
@@ -1,6 +1,6 @@
 <?php
-if(! function_exists('login_content')) {
-function login_content(&$a) {
+
+function login_content(App $a) {
        if(x($_SESSION,'theme'))
                unset($_SESSION['theme']);
        if(x($_SESSION,'mobile-theme'))
@@ -9,5 +9,5 @@ function login_content(&$a) {
        if(local_user())
                goaway(z_root());
        return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
-}
+
 }