aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-28 20:15:57 -0800
committerfriendica <info@friendica.com>2014-01-28 20:15:57 -0800
commit2822e6e70a15508e0626d5fe2eace87b5013b9b6 (patch)
tree06f7d4e0994e3091432d2227ccc54b933990c798
parentd970c69f91b96b3ef40752a95ecec8ca8b11b62a (diff)
downloadvolse-hubzilla-2822e6e70a15508e0626d5fe2eace87b5013b9b6.tar.gz
volse-hubzilla-2822e6e70a15508e0626d5fe2eace87b5013b9b6.tar.bz2
volse-hubzilla-2822e6e70a15508e0626d5fe2eace87b5013b9b6.zip
missing file in checkin
-rw-r--r--mod/online.php11
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);
+}