reverbdotcom/reverb-magento

Remove Mage::getEdition() call from cURL request

dunagan5887 opened this issue · 0 comments

app/code/community/Reverb/ReverbSync/Model/Adapter/Curl.php
Reverb_ReverbSync_Model_Adapter_Curl::_addCurrentMagentoVersionUserAgent()
line 54
$magento_edition = Mage::getEdition();

Magento 1.11 does not contain functionality for method Mage::getEdition(). As such, we will remove the edition (i.e. Community vs Enterprise) in the curl requests X-Magento-Version header. This header will now only contain the version number