aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-25 12:49:25 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-25 12:49:25 +0000
commitd0441ab4fb7b57f6716a52b9d863904cfc472cff (patch)
treeb5532dbde1e387dd441d8a1a5bce3e58f3c3f581 /engine
parent264f12fe79c907b6dbc001f9fab3c2ac94b4db37 (diff)
downloadelgg-d0441ab4fb7b57f6716a52b9d863904cfc472cff.tar.gz
elgg-d0441ab4fb7b57f6716a52b9d863904cfc472cff.tar.bz2
Sends url with version (to retrieve site if already loaded)
git-svn-id: https://code.elgg.org/elgg/trunk@1535 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/ping.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/lib/ping.php b/engine/lib/ping.php
index 8b51d62c0..554427f7d 100644
--- a/engine/lib/ping.php
+++ b/engine/lib/ping.php
@@ -27,11 +27,13 @@
// Get export
$export = export($CONFIG->site_id);
+ $site = get_entity($CONFIG->site_id);
return send_api_post_call($NOTIFICATION_SERVER,
array(
'method' => 'elgg.system.ping',
+ 'url' => $site->url,
'version' => $version,
'release' => $release,
),