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
Merge pull request #3658 from annando/static-methods
[friendica.git/.git]
/
mod
/
randprof.php
1
<?php
2
3
use Friendica\App;
4
use Friendica\Core\System;
5
6
function randprof_init(App $a) {
7
require_once('include/Contact.php');
8
9
$x = random_profile();
10
11
if ($x) {
12
goaway(zrl($x));
13
}
14
15
goaway(System::baseUrl() . '/profile');
16
}