Skip to content

Commit

Permalink
1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Magmodules committed Dec 9, 2017
1 parent 66ed095 commit c182fef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 21 deletions.
20 changes: 1 addition & 19 deletions app/code/community/Magmodules/Sooqr/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/code/community/Magmodules/Sooqr/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<config>
<modules>
<Magmodules_Sooqr>
<version>1.2.2</version>
<version>1.2.3</version>
</Magmodules_Sooqr>
</modules>
<global>
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down

0 comments on commit c182fef

Please sign in to comment.