We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7061b5 commit 1ef9705Copy full SHA for 1ef9705
app/code/Magento/Newsletter/Model/Subscriber.php
@@ -419,7 +419,6 @@ public function subscribe($email)
419
self::XML_PATH_CONFIRMATION_FLAG,
420
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
421
) == 1 ? true : false;
422
- $isOwnSubscribes = false;
423
424
$isSubscribeOwnEmail = $this->_customerSession->isLoggedIn()
425
&& $this->_customerSession->getCustomerDataObject()->getEmail() == $email;
0 commit comments