Skip to content

Commit c5aae39

Browse files
committed
Compatible Magento 2.4.6
1 parent c9b958b commit c5aae39

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Controller/Adminhtml/Action.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ abstract class Action extends \Magento\Backend\App\Action
4646
/**
4747
* @var \Magento\Backend\Model\View\Result\RedirectFactory
4848
*/
49-
protected $_resultRedirectFactory;
49+
protected $resultRedirectFactory;
5050

5151
/**
5252
* Registry object.
@@ -103,7 +103,7 @@ public function __construct(
103103
$this->_resultPageFactory = $resultPageFactory;
104104
$this->_resultLayoutFactory = $resultLayoutFactory;
105105
$this->_resultForwardFactory = $resultForwardFactory;
106-
$this->_resultRedirectFactory = $context->getResultRedirectFactory();
106+
$this->resultRedirectFactory = $context->getResultRedirectFactory();
107107
$this->_themeFactory = $themeFactory;
108108
$this->_themeCollectionFactory = $themeCollectionFactory;
109109
}

Controller/Adminhtml/Index/Delete.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function execute()
5252
$this->messageManager->addError($e->getMessage());
5353
}
5454

55-
$resultRedirect = $this->_resultRedirectFactory->create();
55+
$resultRedirect = $this->resultRedirectFactory->create();
5656

5757
return $resultRedirect->setPath('*/*/');
5858
}

Controller/Adminhtml/Index/Edit.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function execute()
2424
$model->setStoreViewId($storeViewId)->load($id);
2525
if (!$model->getId()) {
2626
$this->messageManager->addError(__('This Theme no longer exists.'));
27-
$resultRedirect = $this->_resultRedirectFactory->create();
27+
$resultRedirect = $this->resultRedirectFactory->create();
2828

2929
return $resultRedirect->setPath('*/*/');
3030
} else {

Controller/Adminhtml/Index/MassDelete.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function execute()
3333
$this->messageManager->addError($e->getMessage());
3434
}
3535
}
36-
$resultRedirect = $this->_resultRedirectFactory->create();
36+
$resultRedirect = $this->resultRedirectFactory->create();
3737

3838
return $resultRedirect->setPath('*/*/');
3939
}

Controller/Adminhtml/Index/MassStatus.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function execute()
3939
$this->messageManager->addError($e->getMessage());
4040
}
4141
}
42-
$resultRedirect = $this->_resultRedirectFactory->create();
42+
$resultRedirect = $this->resultRedirectFactory->create();
4343

4444
return $resultRedirect->setPath('*/*/', ['store' => $this->getRequest()->getParam('store')]);
4545
}

Controller/Adminhtml/Index/Save.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Save extends \Magepow\Theme\Controller\Adminhtml\Action
2525
*/
2626
public function execute()
2727
{
28-
$resultRedirect = $this->_resultRedirectFactory->create();
28+
$resultRedirect = $this->resultRedirectFactory->create();
2929

3030
if ($data = $this->getRequest()->getPostValue()) {
3131
$id = $this->getRequest()->getParam('theme_id');

0 commit comments

Comments
 (0)