diff --git a/app/code/community/Magmodules/Sooqr/Helper/Data.php b/app/code/community/Magmodules/Sooqr/Helper/Data.php index e946ee6..d237be6 100755 --- a/app/code/community/Magmodules/Sooqr/Helper/Data.php +++ b/app/code/community/Magmodules/Sooqr/Helper/Data.php @@ -34,7 +34,7 @@ public function getStoreIds($path) $storeIds = array(); foreach (Mage::app()->getStores() as $store) { $storeId = $store->getId(); - if ($this->getUncachedConfigValue($path, $storeId)) { + if (Mage::getStoreConfig($path, $storeId)) { $storeIds[] = $storeId; } } @@ -60,24 +60,6 @@ public function getUncachedConfigValue($path, $storeId = 0) return $collection->getFirstItem()->getValue(); } - /** - * @param $path - * - * @return array - */ - public function getDisabledStoreIds($path) - { - $storeIds = array(); - foreach (Mage::app()->getStores() as $store) { - $storeId = $store->getId(); - if (!$this->getUncachedConfigValue($path, $storeId)) { - $storeIds[] = $storeId; - } - } - - return $storeIds; - } - /** * @param Mage_Catalog_Model_Product $product * @param $config diff --git a/app/code/community/Magmodules/Sooqr/etc/config.xml b/app/code/community/Magmodules/Sooqr/etc/config.xml index 2b00ae5..a08c249 100755 --- a/app/code/community/Magmodules/Sooqr/etc/config.xml +++ b/app/code/community/Magmodules/Sooqr/etc/config.xml @@ -20,7 +20,7 @@ - 1.2.2 + 1.2.3 diff --git a/composer.json b/composer.json index 6489065..c0f0206 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "magmodules/magento1-sooqr", "type": "magento-module", "description": "Magento 1 Sooqr integration", - "version": "v1.2.2", + "version": "v1.2.3", "keywords": [ "magento","sooqr","search" ],