Changes how IProfile works which is now just exposed by the IUser instead of implemented, this cleans up the Id situation.
This commit is contained in:
@@ -343,13 +343,13 @@ namespace Umbraco.Core.Services
|
||||
public IProfile GetProfileById(int id)
|
||||
{
|
||||
var user = GetUserById(id);
|
||||
return user;
|
||||
return user.ProfileData;
|
||||
}
|
||||
|
||||
public IProfile GetProfileByUserName(string login)
|
||||
{
|
||||
var user = GetByUsername(login);
|
||||
return user;
|
||||
return user.ProfileData;
|
||||
}
|
||||
|
||||
public IUser GetUserById(int id)
|
||||
|
||||
Reference in New Issue
Block a user