diff --git a/app/code/Magento/Catalog/Model/Resource/Category/Attribute/Source/Mode.php b/app/code/Magento/Catalog/Model/Resource/Category/Attribute/Source/Mode.php deleted file mode 100644 index 9136a84c65874..0000000000000 --- a/app/code/Magento/Catalog/Model/Resource/Category/Attribute/Source/Mode.php +++ /dev/null @@ -1,31 +0,0 @@ - - */ -class Mode extends \Magento\Eav\Model\Entity\Attribute\Source\AbstractSource -{ - /** - * Returns all mode options - * - * @return array - */ - public function getAllOptions() - { - if (!$this->_options) { - $this->_options = [ - ['value' => \Magento\Catalog\Model\Category::DM_PRODUCT, 'label' => __('Products only')], - ['value' => \Magento\Catalog\Model\Category::DM_PAGE, 'label' => __('Static block only')], - ['value' => \Magento\Catalog\Model\Category::DM_MIXED, 'label' => __('Static block and products')], - ]; - } - return $this->_options; - } -} diff --git a/app/code/Magento/Catalog/view/frontend/templates/category/view.phtml b/app/code/Magento/Catalog/view/frontend/templates/category/view.phtml deleted file mode 100644 index 285f72c7a3e86..0000000000000 --- a/app/code/Magento/Catalog/view/frontend/templates/category/view.phtml +++ /dev/null @@ -1,47 +0,0 @@ - - -helper('Magento\Catalog\Helper\Output'); - $_category = $block->getCurrentCategory(); - $_imgHtml = ''; - if ($_imgUrl = $_category->getImageUrl()) { - $_imgHtml = '
'; - $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image'); - } -?> -