public function stopEmulation($info)
{
$this->logger->start('STOP EMULATION');
/** @var Mage_Core_Model_App_Emulation $appEmulation */
$appEmulation = Mage::getSingleton('core/app_emulation');
Mage::app()->setCurrentStore($info->getInitialStoreId());
Mage::app()->getStore($info->getEmulatedStoreId())->setConfig(Mage_Catalog_Helper_Product_Flat::XML_PATH_USE_PRODUCT_FLAT, $info->getUseProductFlat());
Mage::app()->getStore($info->getEmulatedStoreId())->setConfig(Mage_Catalog_Helper_Category_Flat::XML_PATH_IS_ENABLED_FLAT_CATALOG_CATEGORY, $info->getUseCategoryFlat());
$appEmulation->stopEnvironmentEmulation($info);
$this->logger->stop('STOP EMULATION');
}