diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-21 12:42:21 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-04-21 12:42:21 +1000 |
| commit | 64f7e70d29dc177f10106d4e6ac9f90725d95133 (patch) | |
| tree | 174b55fcbcabb738b755538d3e92b41bdd95c501 /inc | |
| parent | 07fc56b80b36fcf41e8959844d1d8329a8852a99 (diff) | |
What?
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/anti-bot.php | 5 |
1 files changed, 0 insertions, 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; } |
