aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/ping.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/ping.php')
-rw-r--r--engine/lib/ping.php49
1 files changed, 0 insertions, 49 deletions
diff --git a/engine/lib/ping.php b/engine/lib/ping.php
deleted file mode 100644
index 36d588ef0..000000000
--- a/engine/lib/ping.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
- /**
- * This module pings us on the first install.
- *
- * @package Elgg
- * @subpackage Core
- * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
- * @author Curverider Ltdsend_api_get_call
- * @copyright Curverider Ltd 2008-2009
- * @link http://elgg.org/
- */
-
- /**
- * The api for the pinger.
- * TODO: Have this configurable and/or updatable
- */
- $NOTIFICATION_SERVER = "http://ping.elgg.org/pg/api/rest/php/";
-
-
- /**
- * Run once and only once.
- *
- * @param ElggSite $site The site who's information to use
- */
- function ping_home(ElggSite $site)
- {
- global $NOTIFICATION_SERVER, $CONFIG;
-
- // Get version information
- $version = get_version();
- $release = get_version(true);
-
- // Get export
- $export = export($site->guid);
-
- return send_api_post_call($NOTIFICATION_SERVER,
- array(
- 'method' => 'elgg.system.ping',
-
- 'url' => $site->url,
- 'version' => $version,
- 'release' => $release,
- ),
- array(),
- $export,
- 'text/xml'
- );
- }
-?> \ No newline at end of file