Skip to content

Commit

Permalink
Refactor getFrontName
Browse files Browse the repository at this point in the history
  • Loading branch information
akiojalehto committed Jan 21, 2018
1 parent d1ebc31 commit c8bbc7a
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 c8bbc7a

Please sign in to comment.