Skip to content

Commit 1ef9705

Browse files
committed
Fix confirmation for registered customer
1 parent a7061b5 commit 1ef9705

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/code/Magento/Newsletter/Model/Subscriber.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,6 @@ public function subscribe($email)
419419
self::XML_PATH_CONFIRMATION_FLAG,
420420
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
421421
) == 1 ? true : false;
422-
$isOwnSubscribes = false;
423422

424423
$isSubscribeOwnEmail = $this->_customerSession->isLoggedIn()
425424
&& $this->_customerSession->getCustomerDataObject()->getEmail() == $email;

0 commit comments

Comments
 (0)