* refactor: move ResetUserPassword into UserServiceAdmin

0.6.1-post-fixes
Justin Clarke Casey 2008-11-28 15:47:01 +00:00
parent 7b49c711e9
commit 63851f1441
3 changed files with 1 additions and 14 deletions

View File

@ -251,18 +251,6 @@ namespace OpenSim.Framework.Communications
}
#endregion
/// <summary>
/// Reset a user password
/// </summary>
/// <param name="firstName"></param>
/// <param name="lastName"></param>
/// <param name="newPassword"></param>
/// <returns>true if the update was successful, false otherwise</returns>
public bool ResetUserPassword(string firstName, string lastName, string newPassword)
{
return m_userServiceAdmin.ResetUserPassword(firstName, lastName, newPassword);
}
#region Friend Methods

View File

@ -73,7 +73,6 @@ namespace OpenSim
base.StartupSpecific();
}
protected override void InitialiseStandaloneServices(LibraryRootFolder libraryRootFolder)
{
// Standalone mode

View File

@ -830,7 +830,7 @@ namespace OpenSim
newPassword = MainConsole.Instance.PasswdPrompt("New password");
else newPassword = cmdparams[4];
m_commsManager.ResetUserPassword(firstName, lastName, newPassword);
m_commsManager.UserServiceAdmin.ResetUserPassword(firstName, lastName, newPassword);
}
protected void SaveXml(string[] cmdparams)