]> git.mxchange.org Git - friendica.git/blobdiff - mod/randprof.php
Uncommon logger levels in Friendica (#5453)
[friendica.git] / mod / randprof.php
index c5154c12d0b1292ef39fced53c93ef88aadc3e66..18bcb236f8a98504e94acbe860b41c2d2ee82e08 100644 (file)
@@ -4,6 +4,7 @@
  */
 use Friendica\App;
 use Friendica\Core\System;
+use Friendica\Model\Contact;
 use Friendica\Model\GContact;
 use Friendica\Model\Profile;
 
@@ -12,7 +13,7 @@ function randprof_init(App $a)
        $x = GContact::getRandomUrl();
 
        if ($x) {
-               goaway(Profile::zrl($x));
+               goaway(Contact::magicLink($x));
        }
 
        goaway(System::baseUrl() . '/profile');