]> git.mxchange.org Git - friendica.git/blobdiff - mod/toggle_mobile.php
Bugfix Diaspora: We exited with the wrong return values and the guid for messages...
[friendica.git] / mod / toggle_mobile.php
index 89b73cd4484db62294a05c51724fee32f235f802..12a61152733033bb66de307e19e4748592d6a991 100644 (file)
@@ -1,6 +1,8 @@
 <?php
 
-function toggle_mobile_init(App &$a) {
+use Friendica\App;
+
+function toggle_mobile_init(App $a) {
 
        if (isset($_GET['off'])) {
                $_SESSION['show-mobile'] = false;
@@ -16,4 +18,3 @@ function toggle_mobile_init(App &$a) {
 
        goaway($address);
 }
-