public function unban($ip = null)
    {
        if (is_null($ip)) {
            $ip = $this->ip();

            session()->forget('isBan');
        }

        return $this->model->destroy($ip);
    }
public function unban($ip = null)
    {
        if (is_null($ip)) {
            $ip = $this->ip();

            session()->forget('isBan');
        }

        return $this->model->destroy($ip);
    }
public function unban ( $ ip = null ) { if ( is_null ( $ ip ) ) { $ ip = $ this -> ip ( ) ; session ( ) -> forget ( 'isBan' ) ; } return $ this -> model -> destroy ( $ ip ) ; }
Unban ip address.

@param string|null $ip

@return int
Unban ip address .