Skip to content

Commit bc0258a

Browse files
authored
Remove undeclared method
Remove undeclared method $this->_getSession()
1 parent 354fc11 commit bc0258a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Controller/Adminhtml/Product/MassStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public function execute()
9999
} catch (\Magento\Framework\Exception\LocalizedException $e) {
100100
$this->messageManager->addError($e->getMessage());
101101
} catch (\Exception $e) {
102-
$this->_getSession()->addException($e, __('Something went wrong while updating the product(s) status.'));
102+
$this->messageManager->addException($e, __('Something went wrong while updating the product(s) status.'));
103103
}
104104

105105
/** @var \Magento\Backend\Model\View\Result\Redirect $resultRedirect */

0 commit comments

Comments
 (0)