https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove include/Contact.php
[friendica.git/.git]
/
mod
/
randprof.php
1
<?php
2
3
use Friendica\App;
4
use Friendica\Core\System;
5
use Friendica\Model\GlobalContact;
6
7
function randprof_init(App $a) {
8
$x = GlobalContact::getRandomUrl();
9
10
if ($x) {
11
goaway(zrl($x));
12
}
13
14
goaway(System::baseUrl() . '/profile');
15
}