Cleared useless methods

This commit is contained in:
Robert
2017-07-12 12:28:40 +02:00
parent 769f0d97d2
commit cddc6f3116

View File

@@ -1460,26 +1460,6 @@ namespace Umbraco.Web
return _stringUtilities.Truncate(html, length, addElipsis, treatTagsAsContent);
}
#region Truncate by Words
public IHtmlString TruncateByWords(DynamicNull html, int words)
{
return new HtmlString(string.Empty);
}
/// <summary>
/// Truncates a string to a given amount of words, can add a elipsis at the end (...). Method checks for open html tags, and makes sure to close them
/// </summary>
public IHtmlString TruncateByWords(DynamicNull html, int words, bool addElipsis)
{
return new HtmlString(string.Empty);
}
/// <summary>
/// Truncates a string to a given amount of words, can add a elipsis at the end (...). Method checks for open html tags, and makes sure to close them
/// </summary>
public IHtmlString TruncateByWords(DynamicNull html, int words, bool addElipsis, bool treatTagsAsContent)
{
return new HtmlString(string.Empty);
}
/// <summary>
/// Truncates a string to a given amount of words, can add a elipsis at the end (...). Method checks for open html tags, and makes sure to close them