Skip to content

Commit

Permalink
MAGETWO-87116: Small refactor of getFrontName #13299
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Korshenko authored Jan 24, 2018
2 parents 8e77e2f + ff9c466 commit 102e56a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/internal/Magento/Framework/View/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

/**
Expand Down

0 comments on commit 102e56a

Please sign in to comment.