updates naming from CreateProfileModel to GetCurrentMemberProfile

This commit is contained in:
Shannon
2014-03-11 10:39:19 +11:00
parent abd72e7676
commit d95ca7bc6f
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
@using Umbraco.Web.Controllers
@{
var profileModel = Members.CreateProfileModel();
var profileModel = Members.GetCurrentMemberProfile();
Html.EnableClientValidation();
Html.EnableUnobtrusiveJavaScript();

View File

@@ -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;
}
}

View File

@@ -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)
{