summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-10-09 09:33:59 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-10-09 09:33:59 +0200
commitb32fc30d68e18994d2b17bbb30eac0b33ec6af3c (patch)
treed2f7532beabf82d55d3df3e39486265c7e975021 /db
parent6fa7d6e4db1a953aa87b47b74128465c7957ebf9 (diff)
even more code coverage
Diffstat (limited to 'db')
-rw-r--r--db/itemmapper.php5
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(