diff options
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs b/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs index d4b906a..46313d9 100644 --- a/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs +++ b/OpenSim/Services/Connectors/UserAccounts/UserAccountServiceConnector.cs | |||
@@ -186,7 +186,7 @@ namespace OpenSim.Services.Connectors | |||
186 | return accounts; | 186 | return accounts; |
187 | } | 187 | } |
188 | 188 | ||
189 | public bool SetUserAccount(UserAccount data) | 189 | public bool StoreUserAccount(UserAccount data) |
190 | { | 190 | { |
191 | Dictionary<string, object> sendData = new Dictionary<string, object>(); | 191 | Dictionary<string, object> sendData = new Dictionary<string, object>(); |
192 | //sendData["SCOPEID"] = scopeID.ToString(); | 192 | //sendData["SCOPEID"] = scopeID.ToString(); |
@@ -199,19 +199,6 @@ namespace OpenSim.Services.Connectors | |||
199 | return SendAndGetBoolReply(sendData); | 199 | return SendAndGetBoolReply(sendData); |
200 | } | 200 | } |
201 | 201 | ||
202 | public bool CreateUserAccount(UserAccount data) | ||
203 | { | ||
204 | Dictionary<string, object> sendData = new Dictionary<string, object>(); | ||
205 | //sendData["SCOPEID"] = scopeID.ToString(); | ||
206 | sendData["VERSIONMIN"] = ProtocolVersions.ClientProtocolVersionMin.ToString(); | ||
207 | sendData["VERSIONMAX"] = ProtocolVersions.ClientProtocolVersionMax.ToString(); | ||
208 | sendData["METHOD"] = "createaccount"; | ||
209 | |||
210 | sendData["account"] = data.ToKeyValuePairs(); | ||
211 | |||
212 | return SendAndGetBoolReply(sendData); | ||
213 | } | ||
214 | |||
215 | private UserAccount SendAndGetReply(Dictionary<string, object> sendData) | 202 | private UserAccount SendAndGetReply(Dictionary<string, object> sendData) |
216 | { | 203 | { |
217 | string reply = string.Empty; | 204 | string reply = string.Empty; |