mirror of
https://github.com/friendica/friendica
synced 2025-12-15 11:16:58 +01:00
visit "random profile" feature
This commit is contained in:
parent
0fa932853c
commit
b02a671494
5 changed files with 22 additions and 1 deletions
10
mod/randprof.php
Normal file
10
mod/randprof.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
|
||||
function randprof_init(&$a) {
|
||||
require_once('include/Contact.php');
|
||||
$x = random_profile();
|
||||
if($x)
|
||||
goaway($x);
|
||||
goaway($a->get_baseurl() . '/profile');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue