From 90466515839eb34d7fd9984c92f1970ab5d6f3ad Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Fri, 16 Sep 2011 00:36:43 +0100
Subject: Pass any region scope through to the CreateUser() method
---
OpenSim/Services/UserAccountService/UserAccountService.cs | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index 0acfdcf..e071b94 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -340,7 +340,7 @@ namespace OpenSim.Services.UserAccountService
email = MainConsole.Instance.CmdPrompt("Email", "");
else email = cmdparams[5];
- CreateUser(firstName, lastName, password, email);
+ CreateUser(UUID.Zero, firstName, lastName, password, email);
}
protected void HandleShowAccount(string module, string[] cmdparams)
@@ -452,11 +452,12 @@ namespace OpenSim.Services.UserAccountService
///
/// Create a user
///
+ /// Allows hosting of multiple grids in a single database. Normally left as UUID.Zero
///
///
///
///
- public UserAccount CreateUser(string firstName, string lastName, string password, string email)
+ public UserAccount CreateUser(UUID scopeID, string firstName, string lastName, string password, string email)
{
UserAccount account = GetUserAccount(UUID.Zero, firstName, lastName);
if (null == account)
--
cgit v1.1