From 6ec0fbd5ff6c29f2d8598be7f4d134a03b4e73ba Mon Sep 17 00:00:00 2001 From: Michael Save <savetheinternet@tinyboard.org> Date: Sat, 21 Apr 2012 12:42:21 +1000 Subject: [PATCH] What? --- inc/anti-bot.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/inc/anti-bot.php b/inc/anti-bot.php index 3959b054..9260b237 100644 --- a/inc/anti-bot.php +++ b/inc/anti-bot.php @@ -196,11 +196,6 @@ function _create_antibot($board, $thread) { $query->bindValue(':hash', $antibot->hash()); $query->execute() or error(db_error($query)); - if ($query->rowCount() == 0) { - // there was no database entry for this hash. most likely expired. - return true; - } - return $antibot; }