source/Application/Controller/Admin/UserAddress.php
public function delAddress()
    {
        $this->_blDelete = false;
        if ($this->_allowAdminEdit($this->getEditObjectId())) {
            $aParams = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("editval");
            if (isset($aParams['oxaddress__oxid']) && $aParams['oxaddress__oxid'] != "-1") {
                $oAdress = oxNew(\OxidEsales\Eshop\Application\Model\Address::class);
                $this->_blDelete = $oAdress->delete($aParams['oxaddress__oxid']);
            }
        }
    }
public function delAddress()
    {
        $this->_blDelete = false;
        if ($this->_allowAdminEdit($this->getEditObjectId())) {
            $aParams = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("editval");
            if (isset($aParams['oxaddress__oxid']) && $aParams['oxaddress__oxid'] != "-1") {
                $oAdress = oxNew(\OxidEsales\Eshop\Application\Model\Address::class);
                $this->_blDelete = $oAdress->delete($aParams['oxaddress__oxid']);
            }
        }
    }
public function delAddress ( ) { $ this -> _blDelete = false ; if ( $ this -> _allowAdminEdit ( $ this -> getEditObjectId ( ) ) ) { $ aParams = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( "editval" ) ; if ( isset ( $ aParams [ 'oxaddress__oxid' ] ) && $ aParams [ 'oxaddress__oxid' ] != "-1" ) { $ oAdress = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ Address :: class ) ; $ this -> _blDelete = $ oAdress -> delete ( $ aParams [ 'oxaddress__oxid' ] ) ; } } }
Deletes user addressing information.
Deletes user addressing information .