mirror of
https://github.com/friendica/friendica
synced 2024-12-26 01:20:15 +00:00
4dce3d8224
--------------------- function bla (App &$a) { $a->bla = 'stuff'; } --------------------- Signed-off-by: Roland Häder <roland@mxchange.org>
10 lines
175 B
PHP
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');
|
|
}
|