Skip to content

Commit 8d704f6

Browse files
ENGCOM-2513: [Backport] Inconsistent Redirect in Admin Notification Controller #17090
- Merge Pull Request #17090 from mageprince/magento2:2.1-develop-PR-port-13828 - Merged commits: 1. 6275f63 2. 26f4f2b
2 parents b42f13b + 26f4f2b commit 8d704f6

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/AdminNotification/Controller/Adminhtml/Notification

1 file changed

+1
-1
lines changed

app/code/Magento/AdminNotification/Controller/Adminhtml/Notification/MassRemove.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ public function execute()
3939
$this->messageManager->addException($e, __("We couldn't remove the messages because of an error."));
4040
}
4141
}
42-
$this->getResponse()->setRedirect($this->_redirect->getRedirectUrl($this->getUrl('*')));
42+
$this->_redirect('adminhtml/*/');
4343
}
4444
}

0 commit comments

Comments
 (0)