Typo or missing update in legacy User class

This commit is contained in:
Morten Christensen
2014-01-07 13:23:03 +01:00
parent 4c5dfb42d5
commit d71c686aea

View File

@@ -591,7 +591,7 @@ namespace umbraco.BusinessLogic
public static void Update(int id, string name, string lname, string email, bool disabled, bool noConsole, UserType ut)
{
if (!ensureUniqueLoginName(lname, User.GetUser(id)))
if (!EnsureUniqueLoginName(lname, User.GetUser(id)))
throw new Exception(String.Format("A user with the login '{0}' already exists", lname));