From b32fc30d68e18994d2b17bbb30eac0b33ec6af3c Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 9 Oct 2014 09:33:59 +0200 Subject: even more code coverage --- db/itemmapper.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'db') 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( -- cgit v1.2.3