Skip to content

Commit

Permalink
[CoreBundle] remove result cache for store price -> it causes issues …
Browse files Browse the repository at this point in the history
…with inheritance
  • Loading branch information
dpfaffenbauer committed Apr 30, 2019
1 parent b6e450c commit fad1a2c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public function findForProduct(ProductInterface $product)
->andWhere('o.product = :product')
->setParameter('product', $product->getId())
->getQuery()
->useResultCache(true)
->useQueryCache(true)
->getResult();
}
Expand All @@ -44,7 +43,6 @@ public function findForProductAndProperty(ProductInterface $product, string $pro
->setParameter('product', $product->getId())
->setParameter('property', $property)
->getQuery()
->useResultCache(true)
->useQueryCache(true)
->getResult();
}
Expand All @@ -62,7 +60,6 @@ public function findForProductAndStoreAndProperty(ProductInterface $product, Sto
->setParameter('store', $store)
->setParameter('property', $property)
->getQuery()
->useResultCache(true)
->useQueryCache(true)
->getOneOrNullResult();
}
Expand Down

0 comments on commit fad1a2c

Please sign in to comment.