www: df72fba9: Remove related references from here.

kstange at pidgin.im kstange at pidgin.im
Mon Aug 18 19:45:41 EDT 2008


-----------------------------------------------------------------
Revision: df72fba985225515a2141f2b2a2e5cce1d028806
Ancestor: ee723e45bed592004936b575ae1a5e6e71623ebb
Author: kstange at pidgin.im
Date: 2008-08-18T23:29:36
Branch: im.pidgin.www
URL: http://d.pidgin.im/viewmtn/revision/info/df72fba985225515a2141f2b2a2e5cce1d028806

Modified files:
        htdocs/version.php

ChangeLog: 

Remove related references from here.

-------------- next part --------------
============================================================
--- htdocs/version.php	935be56a146165ec5685dac20690e0161873334d
+++ htdocs/version.php	6447462d3f0c0c15204e2fa94157b225eca9d19b
@@ -3,13 +3,7 @@ error_reporting(0);
 header("Content-Type: text/plain");
 include($_SERVER['DOCUMENT_ROOT'] . "/../inc/version.inc");
 error_reporting(0);
-/*
-Is anyone still using the data anymore?
 
-require 'inc/database.inc.php';
-require 'inc/config.inc.php';
-*/
-
 $changelog_file = 'ChangeLog';
 $changelog_file_win32 = 'win32/ChangeLog.win32';
 
@@ -51,23 +45,6 @@ if ($cur_ver != $my_ver || $dev == false
 	}
 }
 
-/* This code is going to let me track how quickly people upgrade,
- * for my statistics project.  Feel free to put on your tinfoil hat */
-
-/*
-Is anyone still using the data anymore?
-
-if(!$dev) {
-	$db = new Database($sql_type, $sql_server, $sql_username, $sql_password, $sql_database);
-	$db->connect();
-	$db->query("UPDATE version_track SET count=count+1 WHERE day=NOW() AND version = '$my_ver' AND build='$build' AND cur_version = '$cur_ver'");
-	if(mysql_affected_rows() == 0) {
-		$db->query("INSERT INTO version_track (day,version,build,count,cur_version) VALUES(NOW(),'$my_ver','$build',1,'$cur_ver')");
-	}
-	$db->disconnect();
-}
-*/
-
 function parse_changelog($filename, $cur_ver, $firstversion) {
     $f = fopen($filename, "r");
 	$changelog_text = fread($f, filesize($filename));


More information about the Commits mailing list