source/Application/Controller/Admin/UserPayment.php
public function delPayment()
    {
        $aParams = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("editval");
        $soxId = $this->getEditObjectId();
        if ($this->_allowAdminEdit($soxId)) {
            if ($aParams['oxuserpayments__oxid'] != "-1") {
                $oAdress = oxNew(\OxidEsales\Eshop\Application\Model\UserPayment::class);
                if ($oAdress->load($aParams['oxuserpayments__oxid'])) {
                    $this->_blDelete = ( bool ) $oAdress->delete();
                }
            }
        }
    }
public function delPayment()
    {
        $aParams = \OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("editval");
        $soxId = $this->getEditObjectId();
        if ($this->_allowAdminEdit($soxId)) {
            if ($aParams['oxuserpayments__oxid'] != "-1") {
                $oAdress = oxNew(\OxidEsales\Eshop\Application\Model\UserPayment::class);
                if ($oAdress->load($aParams['oxuserpayments__oxid'])) {
                    $this->_blDelete = ( bool ) $oAdress->delete();
                }
            }
        }
    }
public function delPayment ( ) { $ aParams = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getRequestParameter ( "editval" ) ; $ soxId = $ this -> getEditObjectId ( ) ; if ( $ this -> _allowAdminEdit ( $ soxId ) ) { if ( $ aParams [ 'oxuserpayments__oxid' ] != "-1" ) { $ oAdress = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ UserPayment :: class ) ; if ( $ oAdress -> load ( $ aParams [ 'oxuserpayments__oxid' ] ) ) { $ this -> _blDelete = ( bool ) $ oAdress -> delete ( ) ; } } } }
Deletes selected user payment information.
Deletes selected user payment information .