diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-09 09:33:59 +0200 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2014-10-09 09:33:59 +0200 |
commit | b32fc30d68e18994d2b17bbb30eac0b33ec6af3c (patch) | |
tree | d2f7532beabf82d55d3df3e39486265c7e975021 /db/itemmapper.php | |
parent | 6fa7d6e4db1a953aa87b47b74128465c7957ebf9 (diff) |
even more code coverage
Diffstat (limited to 'db/itemmapper.php')
-rw-r--r-- | db/itemmapper.php | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/db/itemmapper.php b/db/itemmapper.php index d0ea4bea3..636df0667 100644 --- a/db/itemmapper.php +++ b/db/itemmapper.php @@ -49,11 +49,6 @@ class ItemMapper extends NewsMapper { // code: we take them variables and we cast the shit out of them $status = (int) $status; - // prepare for the unexpected - if(!is_numeric($status)) { - die('If you can read this something is terribly wrong'); - } - // now im gonna slowly stick them in the query, be careful! return $this->makeSelectQuery( |