Removes unused and obsoleted code

This commit is contained in:
Shannon
2018-05-01 01:27:25 +10:00
parent c8d2ea141b
commit 6faa2ff177
40 changed files with 11 additions and 1246 deletions

View File

@@ -112,15 +112,6 @@ namespace Umbraco.Core.Models
}
public static void ClearAllowedSections(this IUser user)
{
var allowed = user.AllowedSections.ToArray();
foreach (var s in allowed)
{
user.RemoveAllowedSection(s);
}
}
/// <summary>
/// Returns the culture info associated with this user, based on the language they're assigned to in the back office
/// </summary>