From b008a383ba12157326b4fb73600ced2b2fd91cf2 Mon Sep 17 00:00:00 2001 From: Shaun Hogan Date: Wed, 10 Aug 2022 08:33:42 +0000 Subject: [PATCH] Merged PR 38671: Remove redundant controller files ## What's being changed We have removed `Controller/Adminhtml/Studio/Team.php` and `Controller/Adminhtml/Studio/Widget.php` as they we no longer being used by the Chat module. ## Why it's being changed We should remove files that are no longer required by the module. ## How to review / test this change - Test the extension functions as expected and there are no Errors relating to it within the error log Related work items: #180662, #180712 --- Controller/Adminhtml/Studio/Team.php | 51 -------------------------- Controller/Adminhtml/Studio/Widget.php | 51 -------------------------- 2 files changed, 102 deletions(-) delete mode 100644 Controller/Adminhtml/Studio/Team.php delete mode 100644 Controller/Adminhtml/Studio/Widget.php diff --git a/Controller/Adminhtml/Studio/Team.php b/Controller/Adminhtml/Studio/Team.php deleted file mode 100644 index 3850a73..0000000 --- a/Controller/Adminhtml/Studio/Team.php +++ /dev/null @@ -1,51 +0,0 @@ -resultPageFactory = $resultPageFactory; - parent::__construct($context); - } - - /** - * Execute method. - * - * @return Page - */ - public function execute() - { - $resultPage = $this->resultPageFactory->create(); - $resultPage - ->getConfig() - ->getTitle() - ->prepend(__('Chat Team / Widget')); - return $resultPage; - } -} diff --git a/Controller/Adminhtml/Studio/Widget.php b/Controller/Adminhtml/Studio/Widget.php deleted file mode 100644 index d7f8483..0000000 --- a/Controller/Adminhtml/Studio/Widget.php +++ /dev/null @@ -1,51 +0,0 @@ -resultPageFactory = $resultPageFactory; - parent::__construct($context); - } - - /** - * Execute method. - * - * @return Page - */ - public function execute() - { - $resultPage = $this->resultPageFactory->create(); - $resultPage - ->getConfig() - ->getTitle() - ->prepend(__('Chat Studio / Widget')); - return $resultPage; - } -}