mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Removing error message when previous menu could not be found.
Would happen when deleting a menu. --HG-- branch : 1.x
This commit is contained in:
@@ -58,7 +58,6 @@ namespace Orchard.Core.Navigation.Controllers {
|
|||||||
: menus.FirstOrDefault(menu => menu.Id == menuId);
|
: menus.FirstOrDefault(menu => menu.Id == menuId);
|
||||||
|
|
||||||
if (currentMenu == null && menuId != null) { // incorrect menu id passed
|
if (currentMenu == null && menuId != null) { // incorrect menu id passed
|
||||||
Services.Notifier.Error(T("Menu not found: {0}", menuId));
|
|
||||||
return RedirectToAction("Index");
|
return RedirectToAction("Index");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user