diff options
author | Michael Meer <michael@meer.name> | 2014-01-29 14:07:25 +0100 |
---|---|---|
committer | Michael Meer <michael@meer.name> | 2014-01-29 14:07:25 +0100 |
commit | ac8d481a3223335050a7f8dfe1c893a0b301ae7b (patch) | |
tree | c5461820ba181db4258bcf524c42f3fac982e454 /mod/online.php | |
parent | aa285b83c1c8f674be8f200d4feae6299eafc436 (diff) | |
parent | a1e7c65d51a6472cf7fe95686883f77953d7dfd7 (diff) | |
download | volse-hubzilla-ac8d481a3223335050a7f8dfe1c893a0b301ae7b.tar.gz volse-hubzilla-ac8d481a3223335050a7f8dfe1c893a0b301ae7b.tar.bz2 volse-hubzilla-ac8d481a3223335050a7f8dfe1c893a0b301ae7b.zip |
Merge branch 'master' of https://github.com/friendica/red
to be in sync with main repro
Diffstat (limited to 'mod/online.php')
-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); +} |