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:
Sebastien Ros
2012-08-21 11:47:29 -07:00
parent 81b46a89c0
commit 5208b974f4

View File

@@ -58,7 +58,6 @@ namespace Orchard.Core.Navigation.Controllers {
: menus.FirstOrDefault(menu => menu.Id == menuId);
if (currentMenu == null && menuId != null) { // incorrect menu id passed
Services.Notifier.Error(T("Menu not found: {0}", menuId));
return RedirectToAction("Index");
}