aboutsummaryrefslogblamecommitdiffstats
path: root/mod/online.php
blob: c6500347a2565a9962d4ecb70a011ca4af409661 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                          
<?php /** @file */

function online_init(&$a) {

	$ret = array('result' => false);
	if(argc() != 2)
		json_return_and_die($ret);

	$ret = get_online_status(argv(1));
	json_return_and_die($ret);
}