Skip to content

Commit f075414

Browse files
committed
remove unused variable #1847 for magento 2.4
1 parent 11675ac commit f075414

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Controller/Subscriber/Subscribe.php

-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public function __construct(
3636
public function execute()
3737
{
3838
if($this->getRequest()->isPost() && $this->getRequest()->getPost('phone')) {
39-
$email = (string)$this->getRequest()->getPost('email');
4039
$phone = (string)$this->getRequest()->getPost('phone');
4140
$this->session->setPhone($phone);
4241
}

0 commit comments

Comments
 (0)