1
0
Fork 0
friendica_2020-09-1_sharedH.../mod/randprof.php
Roland Häder 4dce3d8224 changed to this:
---------------------
function bla (App &$a) {
	$a->bla = 'stuff';
}
---------------------

Signed-off-by: Roland Häder <roland@mxchange.org>
2016-12-20 10:58:55 +01:00

10 lines
175 B
PHP

<?php
function randprof_init(App &$a) {
require_once('include/Contact.php');
$x = random_profile();
if($x)
goaway(zrl($x));
goaway(App::get_baseurl() . '/profile');
}