]> git.mxchange.org Git - friendica.git/blobdiff - mod/randprof.php
Remove include/oembed and mod/oembed
[friendica.git] / mod / randprof.php
index 55b77aec8ba0304dd46b150735d50a9dec41d972..40ad09271d67b25811c3c1ffff10ba250b83ca38 100644 (file)
@@ -2,12 +2,10 @@
 
 use Friendica\App;
 use Friendica\Core\System;
-use Friendica\Model\GlobalContact;
+use Friendica\Model\GContact;
 
 function randprof_init(App $a) {
-       require_once('include/Contact.php');
-
-       $x = GlobalContact::getRandomUrl();
+       $x = GContact::getRandomUrl();
 
        if ($x) {
                goaway(zrl($x));