about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-17 01:45:56 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-17 01:45:56 +0000
commit429f9f9f8e07994231d7d6198e44bd30ada27c8b (patch)
tree3ca8aa3c4ee45f00627b83de0d0f1bdc0fa6ea1a
parentd1bb2bc4a10548a716899b706b6d4cb2151b6c0f (diff)
downloadinstadisc-429f9f9f8e07994231d7d6198e44bd30ada27c8b.tar.gz
instadisc-429f9f9f8e07994231d7d6198e44bd30ada27c8b.tar.bz2
instadisc-429f9f9f8e07994231d7d6198e44bd30ada27c8b.zip
Central: Modified Verification ID deletion
Refs #42
-rw-r--r--central/trunk/includes/instadisc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/central/trunk/includes/instadisc.php b/central/trunk/includes/instadisc.php index 08394e1..4355bf5 100644 --- a/central/trunk/includes/instadisc.php +++ b/central/trunk/includes/instadisc.php
@@ -26,7 +26,7 @@ function instaDisc_checkVerification($username, $verification, $verificationID,
26 $cntverid3 = mysql_fetch_array($cntverid2); 26 $cntverid3 = mysql_fetch_array($cntverid2);
27 if ($cntverid3[0] >= intval(instaDisc_getConfig('verIDBufferSize'))) 27 if ($cntverid3[0] >= intval(instaDisc_getConfig('verIDBufferSize')))
28 { 28 {
29 $delverid = "DELETE FROM oldVerID WHERE username = \"" . mysql_real_escape_string($username) . "\""; 29 $delverid = "DELETE FROM oldVerID WHERE username = \"" . mysql_real_escape_string($username) . "\" LIMIT 0,1";
30 $delverid2 = mysql_query($delverid); 30 $delverid2 = mysql_query($delverid);
31 } 31 }
32 32