src/Config/Config.php
protected function upgrade460()
    {
        $result = true;
        $newSettings = array();

        if ($this->get('removeEmptyShipping') !== null) {
            $newSettings['sendEmptyShipping'] = !$this->get('removeEmptyShipping');
        }

        if (!empty($newSettings)) {
            $result = $this->save($newSettings);
        }
        return $result;
    }
protected function upgrade460()
    {
        $result = true;
        $newSettings = array();

        if ($this->get('removeEmptyShipping') !== null) {
            $newSettings['sendEmptyShipping'] = !$this->get('removeEmptyShipping');
        }

        if (!empty($newSettings)) {
            $result = $this->save($newSettings);
        }
        return $result;
    }
protected function upgrade460 ( ) { $ result = true ; $ newSettings = array ( ) ; if ( $ this -> get ( 'removeEmptyShipping' ) !== null ) { $ newSettings [ 'sendEmptyShipping' ] = ! $ this -> get ( 'removeEmptyShipping' ) ; } if ( ! empty ( $ newSettings ) ) { $ result = $ this -> save ( $ newSettings ) ; } return $ result ; }
4.6.0 upgrade.

- setting removeEmptyShipping inverted.

@return bool
4 . 6 . 0 upgrade .