Merge with 6.0.6

This commit is contained in:
Morten Christensen
2013-05-29 13:18:40 -02:00
4 changed files with 8 additions and 8 deletions

View File

@@ -1186,7 +1186,7 @@ namespace Umbraco.Core.Services
/// <summary>
/// Sorts a collection of <see cref="IContent"/> objects by updating the SortOrder according
/// to the ordering of items in the passed in <see cref="SortedSet{T}"/>.
/// to the ordering of items in the passed in <see cref="IEnumerable{T}"/>.
/// </summary>
/// <remarks>
/// Using this method will ensure that the Published-state is maintained upon sorting
@@ -1196,7 +1196,7 @@ namespace Umbraco.Core.Services
/// <param name="userId"></param>
/// <param name="raiseEvents"></param>
/// <returns>True if sorting succeeded, otherwise False</returns>
public bool Sort(SortedSet<IContent> items, int userId = 0, bool raiseEvents = true)
public bool Sort(IEnumerable<IContent> items, int userId = 0, bool raiseEvents = true)
{
if (raiseEvents)
{