friendica_2021.01_tupambae_.../mod/randprof.php

11 lines
170 B
PHP
Raw Normal View History

2012-04-11 05:50:31 +02:00
<?php
2012-04-11 05:50:31 +02:00
function randprof_init(&$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
2012-04-14 14:07:00 +02:00
goaway(zrl($x));
2012-04-11 05:50:31 +02:00
goaway($a->get_baseurl() . '/profile');
}