diff options
author | friendica <info@friendica.com> | 2014-01-28 20:15:57 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-28 20:15:57 -0800 |
commit | 2822e6e70a15508e0626d5fe2eace87b5013b9b6 (patch) | |
tree | 06f7d4e0994e3091432d2227ccc54b933990c798 /mod | |
parent | d970c69f91b96b3ef40752a95ecec8ca8b11b62a (diff) | |
download | volse-hubzilla-2822e6e70a15508e0626d5fe2eace87b5013b9b6.tar.gz volse-hubzilla-2822e6e70a15508e0626d5fe2eace87b5013b9b6.tar.bz2 volse-hubzilla-2822e6e70a15508e0626d5fe2eace87b5013b9b6.zip |
missing file in checkin
Diffstat (limited to 'mod')
-rw-r--r-- | mod/online.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mod/online.php b/mod/online.php new file mode 100644 index 000000000..c6500347a --- /dev/null +++ b/mod/online.php @@ -0,0 +1,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); +} |