As I commented above, this function should be removed. But just a hint for your future use ... this check here is pointless - Input is a core class and CodeIgniter wouldn't be working without it.