updates naming from CreateProfileModel to GetCurrentMemberProfile
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
@using Umbraco.Web.Controllers
|
||||
|
||||
@{
|
||||
var profileModel = Members.CreateProfileModel();
|
||||
var profileModel = Members.GetCurrentMemberProfile();
|
||||
|
||||
Html.EnableClientValidation();
|
||||
Html.EnableUnobtrusiveJavaScript();
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Umbraco.Web.Models
|
||||
if (doLookup)
|
||||
{
|
||||
var helper = new MembershipHelper(ApplicationContext.Current, new HttpContextWrapper(HttpContext.Current));
|
||||
var model = helper.CreateProfileModel();
|
||||
var model = helper.GetCurrentMemberProfile();
|
||||
MemberProperties = model.MemberProperties;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ namespace Umbraco.Web.Security
|
||||
/// Creates a new profile model filled in with the current members details if they are logged in.
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public ProfileModel CreateProfileModel()
|
||||
public ProfileModel GetCurrentMemberProfile()
|
||||
{
|
||||
if (IsLoggedIn() == false)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user