From 71061ed81a4bc22ed78b2e9dba54f0b4b7838078 Mon Sep 17 00:00:00 2001 From: Michael Save 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 7cf9220b..9e3ffeb2 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; }