Skip to content

Commit

Permalink
MAGETWO-87116: Small refactor of getFrontName #13299
Browse files Browse the repository at this point in the history
 - Merge Pull Request #13299 from akiojalehto/magento2:refactor
 - Merged commits:
   1. c8bbc7a
  • Loading branch information
dmanners committed Jan 24, 2018
2 parents 8e77e2f + c8bbc7a commit ff9c466
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 ff9c466

Please sign in to comment.