source/Application/Model/User.php
protected function _update()
    {
        //V #M418: for not registered users, don't change boni during update
        if (!$this->oxuser__oxpassword->value && $this->oxuser__oxregister->value < 1) {
            $this->_aSkipSaveFields[] = 'oxboni';
        }

        // don't change this field
        $this->_aSkipSaveFields[] = 'oxcreate';
        if (!$this->isAdmin()) {
            $this->_aSkipSaveFields[] = 'oxcustnr';
            $this->_aSkipSaveFields[] = 'oxrights';
        }

        // updating subscription information
        if (($blUpdate = parent::_update())) {
            $this->getNewsSubscription()->updateSubscription($this);
        }

        return $blUpdate;
    }
protected function _update()
    {
        //V #M418: for not registered users, don't change boni during update
        if (!$this->oxuser__oxpassword->value && $this->oxuser__oxregister->value < 1) {
            $this->_aSkipSaveFields[] = 'oxboni';
        }

        // don't change this field
        $this->_aSkipSaveFields[] = 'oxcreate';
        if (!$this->isAdmin()) {
            $this->_aSkipSaveFields[] = 'oxcustnr';
            $this->_aSkipSaveFields[] = 'oxrights';
        }

        // updating subscription information
        if (($blUpdate = parent::_update())) {
            $this->getNewsSubscription()->updateSubscription($this);
        }

        return $blUpdate;
    }
protected function _update ( ) { //V #M418: for not registered users, don't change boni during update if ( ! $ this -> oxuser__oxpassword -> value && $ this -> oxuser__oxregister -> value < 1 ) { $ this -> _aSkipSaveFields [ ] = 'oxboni' ; } // don't change this field $ this -> _aSkipSaveFields [ ] = 'oxcreate' ; if ( ! $ this -> isAdmin ( ) ) { $ this -> _aSkipSaveFields [ ] = 'oxcustnr' ; $ this -> _aSkipSaveFields [ ] = 'oxrights' ; } // updating subscription information if ( ( $ blUpdate = parent :: _update ( ) ) ) { $ this -> getNewsSubscription ( ) -> updateSubscription ( $ this ) ; } return $ blUpdate ; }
Updates changed user object data to DB. Returns true on success.

@return bool
Updates changed user object data to DB . Returns true on success .