public function isQueueActive($storeId = null)
{
return Mage::getStoreConfigFlag(self::IS_ACTIVE, $storeId);
}
public function saveSettings($isFullProductReindex = false) { foreach (Mage::app()->getStores() as $store) { /* @var $store Mage_Core_Model_Store */ if ($store->getIsActive()) { $saveToTmpIndicesToo = $isFullProductReindex && $this->config->isQueueActive($store->getId()); $this->helper->saveConfigurationToAlgolia($store->getId(), $saveToTmpIndicesToo); } } }