Removes the old type trees and sets the right order on the new
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) { }
|
||||
|
||||
@@ -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) { }
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user