From d8e192314e1a137ff9ddf89706545843df34294a Mon Sep 17 00:00:00 2001 From: Marcin Nowak Date: Wed, 28 Jun 2023 15:58:12 +0200 Subject: [PATCH] Remove unused code --- app/code/core/Mage/Catalog/Model/Url.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/code/core/Mage/Catalog/Model/Url.php b/app/code/core/Mage/Catalog/Model/Url.php index e625eba8b81..dff91ab2901 100644 --- a/app/code/core/Mage/Catalog/Model/Url.php +++ b/app/code/core/Mage/Catalog/Model/Url.php @@ -985,7 +985,6 @@ protected function _saveRewriteHistory($rewriteData, $rewrite) $rewriteData['options'] = 'RP'; // Redirect = Permanent $this->getResource()->saveRewriteHistory($rewriteData); } - $this->getResource()->clearProductRewrites($productId, $storeId); return $this; }