protected function updateIps()
    {
        $ip = smart_get_client_ip();

        if (!$this->isDirty('updated_ip')) {
            $this->updated_ip = $ip;
        }

        if (!$this->exists && !$this->isDirty('created_ip')) {
            $this->created_ip = $ip;
        }
    }
protected function updateIps()
    {
        $ip = smart_get_client_ip();

        if (!$this->isDirty('updated_ip')) {
            $this->updated_ip = $ip;
        }

        if (!$this->exists && !$this->isDirty('created_ip')) {
            $this->created_ip = $ip;
        }
    }
protected function updateIps ( ) { $ ip = smart_get_client_ip ( ) ; if ( ! $ this -> isDirty ( 'updated_ip' ) ) { $ this -> updated_ip = $ ip ; } if ( ! $ this -> exists && ! $ this -> isDirty ( 'created_ip' ) ) { $ this -> created_ip = $ ip ; } }
Update the creation and update ips.

@return void
Update the creation and update ips .