mirror of
https://github.com/friendica/friendica
synced 2024-11-14 07:02:53 +00:00
5ee728972e
- Remove all mentions to include/Contact.php
15 lines
237 B
PHP
15 lines
237 B
PHP
<?php
|
|
|
|
use Friendica\App;
|
|
use Friendica\Core\System;
|
|
use Friendica\Model\GlobalContact;
|
|
|
|
function randprof_init(App $a) {
|
|
$x = GlobalContact::getRandomUrl();
|
|
|
|
if ($x) {
|
|
goaway(zrl($x));
|
|
}
|
|
|
|
goaway(System::baseUrl() . '/profile');
|
|
}
|