From c8bbc7ab616482fdbac26f31d2b461af7dcea6fd Mon Sep 17 00:00:00 2001 From: Aki Ojalehto Date: Sun, 21 Jan 2018 21:49:31 +0200 Subject: [PATCH] Refactor getFrontName --- lib/internal/Magento/Framework/View/Context.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/internal/Magento/Framework/View/Context.php b/lib/internal/Magento/Framework/View/Context.php index 0c3932ffe4bd7..c3f1c3e691c84 100644 --- a/lib/internal/Magento/Framework/View/Context.php +++ b/lib/internal/Magento/Framework/View/Context.php @@ -332,15 +332,11 @@ public function getModuleName() } /** - * Retrieve the module name - * - * @return string - * - * @todo alias of getModuleName + * @see getModuleName */ public function getFrontName() { - return $this->getRequest()->getModuleName(); + return $this->getModuleName(); } /**