aboutsummaryrefslogtreecommitdiffstats
path: root/mod/ping.php
diff options
context:
space:
mode:
authormarijus <mario@localhost.localdomain>2014-02-07 21:35:18 +0100
committermarijus <mario@localhost.localdomain>2014-02-07 21:35:18 +0100
commit4c0f9a91b95025f08e3c4e2739cb5f4186726023 (patch)
tree3b19b8c3aa086e4931aac9790d298b2306f71ff7 /mod/ping.php
parentc26ae94592dda51a40903ea65f117fd7dd9d0ef3 (diff)
parentf62ec4132ed571288737423de386054a4cc8b0d5 (diff)
downloadvolse-hubzilla-4c0f9a91b95025f08e3c4e2739cb5f4186726023.tar.gz
volse-hubzilla-4c0f9a91b95025f08e3c4e2739cb5f4186726023.tar.bz2
volse-hubzilla-4c0f9a91b95025f08e3c4e2739cb5f4186726023.zip
Merge branch 'upstream'
Diffstat (limited to 'mod/ping.php')
-rw-r--r--mod/ping.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/ping.php b/mod/ping.php
index 4b07fee7a..b9d9a9c77 100644
--- a/mod/ping.php
+++ b/mod/ping.php
@@ -43,6 +43,12 @@ function ping_init(&$a) {
unset($_SESSION['sysmsg_info']);
}
+ if($a->install) {
+ echo json_encode($result);
+ killme();
+ }
+
+
if(get_observer_hash() && (! $result['invalid'])) {
$r = q("select cp_id, cp_room from chatpresence where cp_xchan = '%s' and cp_client = '%s' and cp_room = 0 limit 1",
dbesc(get_observer_hash()),