Core/Events.php
public static function enablePayPalRDFA()
    {
        // If PayPal activated on other sub shops do not change global RDF setting.
        if ('EE' == \OxidEsales\Eshop\Core\Registry::getConfig()->getEdition() && self::isPayPalActiveOnSubShops()) {
            return;
        }

        $query = "INSERT IGNORE INTO `oxobject2payment` (`OXID`, `OXPAYMENTID`, `OXOBJECTID`, `OXTYPE`) VALUES('oepaypalrdfa', 'oxidpaypal', 'PayPal', 'rdfapayment')";
        \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->execute($query);
    }
public static function enablePayPalRDFA()
    {
        // If PayPal activated on other sub shops do not change global RDF setting.
        if ('EE' == \OxidEsales\Eshop\Core\Registry::getConfig()->getEdition() && self::isPayPalActiveOnSubShops()) {
            return;
        }

        $query = "INSERT IGNORE INTO `oxobject2payment` (`OXID`, `OXPAYMENTID`, `OXOBJECTID`, `OXTYPE`) VALUES('oepaypalrdfa', 'oxidpaypal', 'PayPal', 'rdfapayment')";
        \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->execute($query);
    }
public static function enablePayPalRDFA ( ) { // If PayPal activated on other sub shops do not change global RDF setting. if ( 'EE' == \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getEdition ( ) && self :: isPayPalActiveOnSubShops ( ) ) { return ; } $ query = "INSERT IGNORE INTO `oxobject2payment` (`OXID`, `OXPAYMENTID`, `OXOBJECTID`, `OXTYPE`) VALUES('oepaypalrdfa', 'oxidpaypal', 'PayPal', 'rdfapayment')" ; \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> execute ( $ query ) ; }
Enables PayPal RDF

@return null
Enables PayPal RDF