diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Orchard.Tags.csproj b/src/Orchard.Web/Modules/Orchard.Tags/Orchard.Tags.csproj
index 8a233b992..d770b535c 100644
--- a/src/Orchard.Web/Modules/Orchard.Tags/Orchard.Tags.csproj
+++ b/src/Orchard.Web/Modules/Orchard.Tags/Orchard.Tags.csproj
@@ -61,8 +61,6 @@
Code
-
-
@@ -106,10 +104,6 @@
{9916839C-39FC-4CEB-A5AF-89CA7E87119F}
Orchard.Core
-
- {6F759635-13D7-4E94-BCC9-80445D63F117}
- Orchard.Tokens
-
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Providers/TagPatterns.cs b/src/Orchard.Web/Modules/Orchard.Tags/Providers/TagPatterns.cs
deleted file mode 100644
index f8e6b84b6..000000000
--- a/src/Orchard.Web/Modules/Orchard.Tags/Providers/TagPatterns.cs
+++ /dev/null
@@ -1,73 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using Orchard.Tags.Services;
-using Orchard.Localization;
-using Orchard.Tags.Models;
-using System.Web.Routing;
-using Orchard.Events;
-
-namespace Orchard.Tags.Providers {
-
- public interface IRoutePatternProvider : IEventHandler {
- void Describe(dynamic describe);
- void Suggest(dynamic suggest);
- }
- public class TagPatterns : IRoutePatternProvider {
-
- private readonly ITagService _tagService;
-
- public TagPatterns(
- ITagService tagService
- ) {
- _tagService = tagService;
- T = NullLocalizer.Instance;
- }
-
- public Localizer T { get; set; }
-
- public void Describe(dynamic describe) {
- describe.For("Tags", T("Tags"), T("Tags url patterns"), (Func)GetId, (Func)GetTag, (Func>)GetContext)
- .Pattern("Tags", T("View all tags"), T("A list of all tags are displayed on this page"), (Func)GetTagsRouteValues)
- .Pattern("View", T("View tagged content"), T("Tagged content will be listed on this Url for each tag"), (Func)GetRouteValues);
- }
-
- public RouteValueDictionary GetRouteValues(TagRecord tag) {
- return new RouteValueDictionary(new{
- area = "Orchard.Tags",
- controller = "Home",
- action = "Search",
- tagName = tag.TagName
- });
- }
-
- public RouteValueDictionary GetTagsRouteValues(TagRecord tag) {
- return new RouteValueDictionary(new {
- area = "Orchard.Tags",
- controller = "Home",
- action = "Index"
- });
- }
-
- public IDictionary GetContext(TagRecord tag) {
- return new Dictionary { { "Tag", tag } };
- }
-
- public string GetId(TagRecord tag) {
- return tag.Id.ToString();
- }
-
- public TagRecord GetTag(string id) {
- return _tagService.GetTag(Convert.ToInt32(id));
- }
-
- public void Suggest(dynamic suggest) {
- suggest.For("Tags")
- .Suggest("View", "tags/tag-name", "{Tag.Name.Slug}", T("Slugified tag name"))
- .Suggest("Tags", "tags", "tags", T("Plain /tags url"));
- }
-
-
- }
-}
\ No newline at end of file
diff --git a/src/Orchard.Web/Modules/Orchard.Tags/Providers/TagTokens.cs b/src/Orchard.Web/Modules/Orchard.Tags/Providers/TagTokens.cs
deleted file mode 100644
index 74b6f71ef..000000000
--- a/src/Orchard.Web/Modules/Orchard.Tags/Providers/TagTokens.cs
+++ /dev/null
@@ -1,33 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Web;
-using Orchard.Tokens;
-using Orchard.Localization;
-using Orchard.Tags.Models;
-
-namespace Orchard.Tags.Providers {
- public class TagTokens : ITokenProvider {
-
- public TagTokens() {
-
- T = NullLocalizer.Instance;
-
- }
- public Localizer T { get; set; }
- public void Describe(DescribeContext context) {
-
- context.For("Tag", T("Tags"), T("Tag records"))
- .Token("Name", T("Tag name"), T("Tag name"), "Text");
-
- }
-
- public void Evaluate(EvaluateContext context) {
- context.For("Tag")
- .Token("", t => t.TagName)
- .Token("Name", t => t.TagName)
- // By chaining the name to text it can be slugified in Autoroute
- .Chain("Name", "Text", t => t.TagName);
- }
- }
-}
\ No newline at end of file