We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e908e6c commit b1066bfCopy full SHA for b1066bf
lib/internal/Magento/Framework/Pricing/Render/PriceBox.php
@@ -86,12 +86,7 @@ public function getCacheKey()
86
*/
87
protected function getCacheLifetime()
88
{
89
- if ($this->hasData('cache_lifetime')) {
90
- $cacheLifeTime = $this->getData('cache_lifetime');
91
- return (int)$cacheLifeTime;
92
- } else {
93
- return parent::hasCacheLifetime()? parent::getCacheLifetime() : null;
94
- }
+ return parent::hasCacheLifetime()? parent::getCacheLifetime() : null;
95
}
96
97
/**
0 commit comments