aboutsummaryrefslogblamecommitdiffstats
path: root/Zotlabs/Module/Online.php
blob: 39399db383aa8c792ae6ec3e8108635cef57229d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17















                                                  
<?php
namespace Zotlabs\Module; /** @file */


class Online extends \Zotlabs\Web\Controller {

	function init() {
	
		$ret = array('result' => false);
		if(argc() != 2)
			json_return_and_die($ret);
	
		$ret = get_online_status(argv(1));
		json_return_and_die($ret);
	} 
	
}