mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +08:00
Remove CreateUserAccount. Rename SetUserAccount to StoreUserAccount.
Implement the fetch operations fully. Rename one last UserService file to UserAccountService
This commit is contained in:
@@ -186,7 +186,7 @@ namespace OpenSim.Services.Connectors
|
||||
return accounts;
|
||||
}
|
||||
|
||||
public bool SetUserAccount(UserAccount data)
|
||||
public bool StoreUserAccount(UserAccount data)
|
||||
{
|
||||
Dictionary<string, object> sendData = new Dictionary<string, object>();
|
||||
//sendData["SCOPEID"] = scopeID.ToString();
|
||||
@@ -199,19 +199,6 @@ namespace OpenSim.Services.Connectors
|
||||
return SendAndGetBoolReply(sendData);
|
||||
}
|
||||
|
||||
public bool CreateUserAccount(UserAccount data)
|
||||
{
|
||||
Dictionary<string, object> sendData = new Dictionary<string, object>();
|
||||
//sendData["SCOPEID"] = scopeID.ToString();
|
||||
sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString();
|
||||
sendData["VERSIONMAX"] = ProtocolVersions.ClientProtocolVersionMax.ToString();
|
||||
sendData["METHOD"] = "createaccount";
|
||||
|
||||
sendData["account"] = data.ToKeyValuePairs();
|
||||
|
||||
return SendAndGetBoolReply(sendData);
|
||||
}
|
||||
|
||||
private UserAccount SendAndGetReply(Dictionary<string, object> sendData)
|
||||
{
|
||||
string reply = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user