]> git.mxchange.org Git - friendica.git/blobdiff - mod/randprof.php
Renamed System::redirect() to $a->redirect()
[friendica.git] / mod / randprof.php
index 18bcb236f8a98504e94acbe860b41c2d2ee82e08..13944c128f9a45f155f6fb029ff0ec2e4b2b984d 100644 (file)
@@ -13,8 +13,8 @@ function randprof_init(App $a)
        $x = GContact::getRandomUrl();
 
        if ($x) {
-               goaway(Contact::magicLink($x));
+               $a->redirect(Contact::magicLink($x));
        }
 
-       goaway(System::baseUrl() . '/profile');
+       $a->redirect('profile');
 }