#19967: Fixing Menu import/export

Work Item: 19967
This commit is contained in:
Sebastien Ros
2013-10-18 17:18:55 -07:00
parent 15e4e27c46
commit b2761dcd13
2 changed files with 8 additions and 8 deletions

View File

@@ -15,14 +15,6 @@ namespace Orchard.Core.Navigation.Handlers {
_contentManager = contentManager;
}
protected override void GetItemMetadata(GetContentItemMetadataContext context) {
if(context.ContentItem.ContentType != "Menu") {
return;
}
context.Metadata.Identity.Add("name", context.ContentItem.As<TitlePart>().Title);
}
protected override void Removing(RemoveContentContext context) {
if (context.ContentItem.ContentType != "Menu") {
return;