File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
app/code/Magento/QuoteGraphQl/Model/Cart Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -39,8 +39,6 @@ class GetCartForUser
39
39
* @param MaskedQuoteIdToQuoteIdInterface $maskedQuoteIdToQuoteId
40
40
* @param CartRepositoryInterface $cartRepository
41
41
* @param StoreManagerInterface $storeManager
42
- * @param GetCustomer $getCustomer
43
- * @param ContextInterface $context
44
42
*/
45
43
public function __construct (
46
44
MaskedQuoteIdToQuoteIdInterface $ maskedQuoteIdToQuoteId ,
@@ -64,9 +62,6 @@ public function __construct(
64
62
*/
65
63
public function execute (string $ cartHash , ?int $ customerId ): Quote
66
64
{
67
- /* verify customer is confirmed and not locked */
68
- $ this ->getCustomer ->execute ($ this ->context );
69
-
70
65
try {
71
66
$ cartId = $ this ->maskedQuoteIdToQuoteId ->execute ($ cartHash );
72
67
} catch (NoSuchEntityException $ exception ) {
You can’t perform that action at this time.
0 commit comments