How does it work?
// Purge obsolete login attempts
$this->db->or_where('UNIX_TIMESTAMP(time) <', time() - $expire_period);
$this->db->or_where is codeigniter method,both 'UNIX_TIMESTAMP' and time() return timestamp, I can't figure out why 'UNIX_TIMESTAMP' will less than the 2nd argument.