]> git.mxchange.org Git - friendica.git/blobdiff - mod/toggle_mobile.php
Move mod/home to src/Module/Home
[friendica.git] / mod / toggle_mobile.php
index 388c40891a80b2d64419e96daf6d775f1bd82361..d1a26b3ca21ae9cfb3c59a2d31432ad197a5c142 100644 (file)
@@ -1,7 +1,6 @@
 <?php
 
 use Friendica\App;
-use Friendica\Core\System;
 
 function toggle_mobile_init(App $a) {
 
@@ -17,5 +16,5 @@ function toggle_mobile_init(App $a) {
                $address = '';
        }
 
-       System::externalRedirect($address);
+       $a->redirect($address);
 }