Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 102e56a

Browse files
author
Oleksii Korshenko
authored
MAGETWO-87116: Small refactor of getFrontName #13299
2 parents 8e77e2f + ff9c466 commit 102e56a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

lib/internal/Magento/Framework/View/Context.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -332,15 +332,11 @@ public function getModuleName()
332332
}
333333

334334
/**
335-
* Retrieve the module name
336-
*
337-
* @return string
338-
*
339-
* @todo alias of getModuleName
335+
* @see getModuleName
340336
*/
341337
public function getFrontName()
342338
{
343-
return $this->getRequest()->getModuleName();
339+
return $this->getModuleName();
344340
}
345341

346342
/**

0 commit comments

Comments
 (0)