reverbdotcom / reverb-magento

Magento 1.x plugin for syncing with Reverb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remove Mage::getEdition() call from cURL request

dunagan5887 opened this issue · 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