Skip to content

Commit d4e55cc

Browse files
committed
ACPT-826
1 parent 791bb8e commit d4e55cc

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

app/code/Magento/AsyncConfig/Plugin/Controller/System/Config/SaveAsyncConfigPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function aroundExecute(Save $subject, callable $proceed)
8383
$configData = $subject->getConfigData();
8484
$this->asyncConfigPublisher->saveConfigData($configData);
8585
$this->messageManager->addSuccess(__('Configuration changes will be applied by consumer soon.'));
86-
$subject->saveState($subject->getRequest()->getPost('config_state'));
86+
$subject->_saveState($subject->getRequest()->getPost('config_state'));
8787
/** @var \Magento\Backend\Model\View\Result\Redirect $resultRedirect */
8888
$resultRedirect = $this->resultRedirectFactory->create();
8989
return $resultRedirect->setPath(

app/code/Magento/Config/Controller/Adminhtml/System/Config/Save.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,11 @@ public function __construct(
5858
}
5959

6060
/**
61-
* Save state of configuration field sets
62-
*
63-
* @param array $configState
64-
* @return bool
61+
* @inheritDoc
6562
*/
66-
public function saveState($configState)
63+
public function _saveState($configState = []): bool
6764
{
68-
return $this->_saveState($configState);
65+
return parent::_saveState($configState);
6966
}
7067

7168
/**

0 commit comments

Comments
 (0)