Skip to content

Commit

Permalink
Merge pull request #961 from dpfaffenbauer/issue/895
Browse files Browse the repository at this point in the history
[CoreBundle] remove result cache for store price -> it causes issues with inheritance
  • Loading branch information
dpfaffenbauer authored May 1, 2019
2 parents b6e450c + fad1a2c commit 976f248
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 976f248

Please sign in to comment.