Skip to content

Commit 661ff21

Browse files
committed
ACP2E-1754: Store level URL rewrites are removed after product import
1 parent b30a08e commit 661ff21

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/code/Magento/CatalogUrlRewrite/Observer/AfterImportDataObserver.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
use Magento\Framework\App\Config\ScopeConfigInterface;
2626
use Magento\Framework\App\ObjectManager;
2727
use Magento\Framework\DataObject;
28-
use Magento\Framework\EntityManager\MetadataPool;
2928
use Magento\Framework\Event\Observer;
3029
use Magento\Framework\Event\ObserverInterface;
3130
use Magento\Framework\Exception\LocalizedException;
@@ -226,8 +225,7 @@ public function __construct(
226225
CategoryCollectionFactory $categoryCollectionFactory = null,
227226
ScopeConfigInterface $scopeConfig = null,
228227
CollectionFactory $collectionFactory = null,
229-
AttributeValue $attributeValue = null,
230-
MetadataPool $metadataPool = null
228+
AttributeValue $attributeValue = null
231229
) {
232230
$this->urlPersist = $urlPersist;
233231
$this->catalogProductFactory = $catalogProductFactory;

0 commit comments

Comments
 (0)