Skip to content

Commit 37e0fad

Browse files
committed
MAGETWO-72508: Fatal Error on deleted customer login
1 parent da8c15f commit 37e0fad

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

app/code/Magento/Customer/Model/ResourceModel/CustomerRepository.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,8 @@ public function __construct(
143143
$this->dataObjectHelper = $dataObjectHelper;
144144
$this->imageProcessor = $imageProcessor;
145145
$this->extensionAttributesJoinProcessor = $extensionAttributesJoinProcessor;
146-
$this->collectionProcessor = $collectionProcessor ?:
147-
ObjectManager::getInstance()->get(CollectionProcessorInterface::class);
148-
$this->notificationStorage = $notificationStorage ?:
149-
ObjectManager::getInstance()->get(NotificationStorage::class);
146+
$this->collectionProcessor = $collectionProcessor;
147+
$this->notificationStorage = $notificationStorage;
150148
}
151149

152150
/**

0 commit comments

Comments
 (0)