aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/ping.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-06 21:00:49 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-02-06 21:00:49 +0000
commit298158ed2cb212cb79c413696295e8adbc5cecff (patch)
tree8808a35a77607b1ca8fa675f88ab2403bf2bc004 /engine/lib/ping.php
parent1b3bad40a47da7e8322f247073e6f7fc13ea16d3 (diff)
downloadelgg-298158ed2cb212cb79c413696295e8adbc5cecff.tar.gz
elgg-298158ed2cb212cb79c413696295e8adbc5cecff.tar.bz2
Fixes #1492: Removed usage info collecting from installation.
git-svn-id: http://code.elgg.org/elgg/trunk@3913 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/ping.php')
-rw-r--r--engine/lib/ping.php45
1 files changed, 0 insertions, 45 deletions
diff --git a/engine/lib/ping.php b/engine/lib/ping.php
deleted file mode 100644
index b318806a7..000000000
--- a/engine/lib/ping.php
+++ /dev/null
@@ -1,45 +0,0 @@
-<?php
-/**
- * This module pings us on the first install.
- *
- * @package Elgg
- * @subpackage Core
- * @author Curverider Ltdsend_api_get_call
- * @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