reverbdotcom / reverb-magento

Magento 1.x plugin for syncing with Reverb
Other
7 stars 10 forks source link

Remove Mage::getEdition() call from cURL request #227

Closed dunagan5887 closed 8 years ago

dunagan5887 commented 8 years ago

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