Removes the old type trees and sets the right order on the new

This commit is contained in:
Per Ploug
2015-08-26 12:18:42 +02:00
parent 94b09a4568
commit 23a5ac439b
6 changed files with 9 additions and 9 deletions

View File

@@ -16,7 +16,7 @@ using Umbraco.Core.Services;
namespace Umbraco.Web.Trees
{
[UmbracoTreeAuthorize(Constants.Trees.DataTypes)]
[Tree(Constants.Applications.Settings, Constants.Trees.DocumentTypes, "Document Types")]
[Tree(Constants.Applications.Settings, Constants.Trees.DocumentTypes, "Document Types", sortOrder: 6)]
[Umbraco.Web.Mvc.PluginController("UmbracoTrees")]
[CoreTree]
public class ContentTypeTreeController : TreeController

View File

@@ -16,7 +16,7 @@ using Umbraco.Core.Services;
namespace Umbraco.Web.Trees
{
[UmbracoTreeAuthorize(Constants.Trees.DataTypes)]
[Tree(Constants.Applications.Settings, Constants.Trees.MediaTypes, "Media Types")]
[Tree(Constants.Applications.Settings, Constants.Trees.MediaTypes, "Media Types", sortOrder:5)]
[Umbraco.Web.Mvc.PluginController("UmbracoTrees")]
[CoreTree]
public class MediaTypeTreeController : TreeController

View File

@@ -13,7 +13,7 @@ using Umbraco.Web.WebApi.Filters;
namespace Umbraco.Web.Trees
{
[UmbracoTreeAuthorize(Constants.Trees.DataTypes)]
[Tree(Constants.Applications.Members, Constants.Trees.MemberTypes, "Member Types")]
[Tree(Constants.Applications.Members, Constants.Trees.MemberTypes, "Member Types", sortOrder:2 )]
[Umbraco.Web.Mvc.PluginController("UmbracoTrees")]
[CoreTree]
public class MemberTypeTreeController : TreeController

View File

@@ -12,7 +12,7 @@ using Umbraco.Web.umbraco.presentation.umbraco.Trees;
namespace umbraco
{
[Tree(Constants.Applications.Settings, "mediaTypes", "Media Types", sortOrder: 5)]
[Obsolete("This class is no longer used and will be removed from the codebase in future versions")]
public class loadMediaTypes : BaseTree
{
public loadMediaTypes(string application) : base(application) { }

View File

@@ -30,10 +30,10 @@ using Umbraco.Core;
namespace umbraco
{
/// <summary>
/// Handles loading of the member types into the application tree
/// </summary>
[Tree(Constants.Applications.Members, "memberType", "Member Types", sortOrder: 2)]
/// <summary>
/// Handles loading of the member types into the application tree
/// </summary>
[Obsolete("This class is no longer used and will be removed from the codebase in future versions")]
public class loadMemberTypes : BaseTree
{
public loadMemberTypes(string application) : base(application) { }

View File

@@ -14,7 +14,7 @@ using Umbraco.Web.umbraco.presentation.umbraco.Trees;
namespace umbraco
{
[Tree(Constants.Applications.Settings, "nodeTypes", "Document Types", sortOrder: 6)]
[Obsolete("This class is no longer used and will be removed from the codebase in future versions")]
public class loadNodeTypes : BaseTree
{