From f0754144b2b3db2d760c230a63f3099161698721 Mon Sep 17 00:00:00 2001 From: gonzalo Date: Fri, 6 Oct 2023 12:34:31 -0300 Subject: [PATCH] remove unused variable #1847 for magento 2.4 --- Controller/Subscriber/Subscribe.php | 1 - 1 file changed, 1 deletion(-) diff --git a/Controller/Subscriber/Subscribe.php b/Controller/Subscriber/Subscribe.php index 7c57a476..afac0920 100644 --- a/Controller/Subscriber/Subscribe.php +++ b/Controller/Subscriber/Subscribe.php @@ -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); }