]> git.mxchange.org Git - friendica.git/blobdiff - mod/toggle_mobile.php
Storing the protocol while following a contact
[friendica.git] / mod / toggle_mobile.php
index caa02b1e4bd24397d7c2febd6c0567f8ae7b5fc3..2821e0a646bef02e3e6297d22a1d57d861c251b7 100644 (file)
@@ -14,8 +14,8 @@ function toggle_mobile_init(App $a) {
        if (isset($_GET['address'])) {
                $address = $_GET['address'];
        } else {
-               $address = App::get_baseurl();
+               $address = '';
        }
 
-       goaway($address);
+       $a->redirect($address);
 }