Skip to content

Commit

Permalink
MAGETWO-59089: Problem with change currency
Browse files Browse the repository at this point in the history
- Cleaned up unnecessary code
  • Loading branch information
abarua17 committed Oct 3, 2016
1 parent e908e6c commit b1066bf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions lib/internal/Magento/Framework/Pricing/Render/PriceBox.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,7 @@ public function getCacheKey()
*/
protected function getCacheLifetime()
{
if ($this->hasData('cache_lifetime')) {
$cacheLifeTime = $this->getData('cache_lifetime');
return (int)$cacheLifeTime;
} else {
return parent::hasCacheLifetime()? parent::getCacheLifetime() : null;
}
return parent::hasCacheLifetime()? parent::getCacheLifetime() : null;
}

/**
Expand Down

0 comments on commit b1066bf

Please sign in to comment.