Skip to content

Commit ece6062

Browse files
committed
MAGETWO-98801: Catalog cache gets flushed after Import
1 parent 07e57ac commit ece6062

File tree

1 file changed

+1
-4
lines changed
  • app/code/Magento/Catalog/Block/Product

1 file changed

+1
-4
lines changed

app/code/Magento/Catalog/Block/Product/View.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,7 @@ public function getQuantityValidators()
323323
public function getIdentities()
324324
{
325325
$identities = $this->getProduct()->getIdentities();
326-
$category = $this->_coreRegistry->registry('current_category');
327-
if ($category) {
328-
$identities[] = Category::CACHE_TAG . '_' . $category->getId();
329-
}
326+
330327
return $identities;
331328
}
332329

0 commit comments

Comments
 (0)