File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
app/code/Magento/Sales/Controller/AbstractController Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -94,16 +94,6 @@ public function execute()
94
94
// to session for guest customer, as it does \Magento\Checkout\Model\Cart::save which is deprecated.
95
95
$ this ->checkoutSession ->setQuoteId ($ reorderOutput ->getCart ()->getId ());
96
96
97
- $ errors = $ reorderOutput ->getErrors ();
98
- if (!empty ($ errors )) {
99
- $ useNotice = $ this ->_objectManager ->get (\Magento \Checkout \Model \Session::class)->getUseNotice (true );
100
- foreach ($ errors as $ error ) {
101
- $ useNotice
102
- ? $ this ->messageManager ->addNoticeMessage ($ error ->getMessage ())
103
- : $ this ->messageManager ->addErrorMessage ($ error ->getMessage ());
104
- }
105
- }
106
-
107
97
return $ resultRedirect ->setPath ('checkout/cart ' );
108
98
}
109
99
}
You can’t perform that action at this time.
0 commit comments