Skip to content

Commit

Permalink
remove unused variable #1847 for magento 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed Oct 6, 2023
1 parent 11675ac commit f075414
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Controller/Subscriber/Subscribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ public function __construct(
public function execute()
{
if($this->getRequest()->isPost() && $this->getRequest()->getPost('phone')) {
$email = (string)$this->getRequest()->getPost('email');
$phone = (string)$this->getRequest()->getPost('phone');
$this->session->setPhone($phone);
}
Expand Down

0 comments on commit f075414

Please sign in to comment.