summaryrefslogtreecommitdiff
path: root/inc/anti-bot.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-21 12:42:21 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-21 12:42:54 +1000
commit71061ed81a4bc22ed78b2e9dba54f0b4b7838078 (patch)
tree5c0f5945f1ab643ec91e23d57b9343fff87fcdb0 /inc/anti-bot.php
parent8b7a1d511c33dea2a8b15be4f033e02fe059897e (diff)
What?
Diffstat (limited to 'inc/anti-bot.php')
-rw-r--r--inc/anti-bot.php5
1 files changed, 0 insertions, 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;
}