From fdf82fc3d06c5d4f9c4d3f8a89906cc57bdaddc1 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 17 Aug 2008 13:36:03 +0000 Subject: Central: Undid Come Again I don't currently like the look of Come Again, perhaps it could be implemented at a later release. Refs #43 --- central/trunk/includes/instadisc.php | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'central/trunk/includes/instadisc.php') diff --git a/central/trunk/includes/instadisc.php b/central/trunk/includes/instadisc.php index 1426785..d07e53b 100644 --- a/central/trunk/includes/instadisc.php +++ b/central/trunk/includes/instadisc.php @@ -5,7 +5,7 @@ include_once('includes/db.php'); include_once('includes/class.phpmailer.php'); -function instaDisc_checkVerification($username, $verification, $verificationID, $table, $nameField, $passField, $comeAgain = false, $comeAgainURL = '', $comeAgainMethod = '', $comeAgainSignature = '') +function instaDisc_checkVerification($username, $verification, $verificationID, $table, $nameField, $passField) { $getverid = "SELECT * FROM oldVerID WHERE username = \"" . mysql_real_escape_string($username) . "\" AND verID = " . $verificationID; $getverid2 = mysql_query($getverid); @@ -42,24 +42,6 @@ function instaDisc_checkVerification($username, $verification, $verificationID, return true; } } - } else { - if ($comeAgain) - { - $cserver = $_SERVER['SERVER_NAME']; - $getuk = "SELECT * FROM centralServers WHERE url = \"" . mysql_real_escape_string($cserver) . "\""; - $getuk2 = mysql_query($getuk); - $getuk3 = mysql_fetch_array($getuk2); - - $verID = rand(1,2147483647); - - $client = new xmlrpc_client($comeAgainURL); - $msg = new xmlrpcmsg("InstaDisc.comeAgain", array( new xmlrpcval($cserver, 'string'), - new xmlrpcval(md5($cserver . ":" . $getuk3['code'] . ":" . $verID), 'string'), - new xmlrpcval($verID, 'int'), - new xmlrpcval($comeAgainMethod, 'string'), - new xmlrpcval(serialize($comeAgainSignature), 'string'))); - $client->send($msg); - } } return false; -- cgit 1.4.1