source/Application/Model/BasketReservation.php
public function discardReservations()
    {
        foreach (array_keys($this->_getReservedItems()) as $sArticleId) {
            $this->discardArticleReservation($sArticleId);
        }
        if ($this->_oReservations) {
            $this->_oReservations->delete();
            $this->_oReservations = null;
            $this->_aCurrentlyReserved = null;
        }
    }
public function discardReservations()
    {
        foreach (array_keys($this->_getReservedItems()) as $sArticleId) {
            $this->discardArticleReservation($sArticleId);
        }
        if ($this->_oReservations) {
            $this->_oReservations->delete();
            $this->_oReservations = null;
            $this->_aCurrentlyReserved = null;
        }
    }
public function discardReservations ( ) { foreach ( array_keys ( $ this -> _getReservedItems ( ) ) as $ sArticleId ) { $ this -> discardArticleReservation ( $ sArticleId ) ; } if ( $ this -> _oReservations ) { $ this -> _oReservations -> delete ( ) ; $ this -> _oReservations = null ; $ this -> _aCurrentlyReserved = null ; } }
discard all reserved articles
discard all reserved articles