diff --git a/app/code/Magento/Theme/Model/Theme.php b/app/code/Magento/Theme/Model/Theme.php index 763ef5952ea0..64dda97f14b5 100644 --- a/app/code/Magento/Theme/Model/Theme.php +++ b/app/code/Magento/Theme/Model/Theme.php @@ -267,11 +267,7 @@ public function getParentTheme() */ public function getArea() { - // In order to support environment emulation of area, if area is set, return it - if ($this->getData('area') && !$this->_appState->isAreaCodeEmulated()) { - return $this->getData('area'); - } - return $this->_appState->getAreaCode(); + return $this->getData('area'); } /**