Removed obsolete methods from Umbraco.Web which are not used.

This commit is contained in:
Anthony
2018-07-01 18:06:00 +01:00
parent c95340ab78
commit 7affbbd186
16 changed files with 6 additions and 190 deletions

View File

@@ -33,11 +33,6 @@ namespace Umbraco.Web.Models
}
}
[Obsolete("Do not use this ctor as it will perform business logic lookups. Use the MembershipHelper.CreateProfileModel or the static ProfileModel.CreateModel() to create an empty model.")]
public ProfileModel()
:this(true)
{
}
[Required]
[RegularExpression(@"[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?",