public function sess_destroy() { session_destroy(); }
function sess_destroy() { //write your update here $this->CI->db->update('u_user', array('status_login' => 0), array('username' => 'admin')); //call the parent parent::sess_destroy(); }