From 71fa9709909f95ec7d7fd4e7c25a1df1ddf52a82 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Wed, 5 Oct 2011 22:01:12 -0400 Subject: [PATCH] Added back UserAccount that creates random UUID for new account. This should fix recent issues with 3rd party apps that use the old interface w/o breaking the new one. --- OpenSim/Services/Interfaces/IUserAccountService.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/OpenSim/Services/Interfaces/IUserAccountService.cs b/OpenSim/Services/Interfaces/IUserAccountService.cs index 20414f6550..cadf297cad 100644 --- a/OpenSim/Services/Interfaces/IUserAccountService.cs +++ b/OpenSim/Services/Interfaces/IUserAccountService.cs @@ -44,6 +44,17 @@ namespace OpenSim.Services.Interfaces PrincipalID = principalID; } + public UserAccount(UUID scopeID, string firstName, string lastName, string email) + { + PrincipalID = UUID.Random(); + ScopeID = scopeID; + FirstName = firstName; + LastName = lastName; + Email = email; + ServiceURLs = new Dictionary(); + Created = Util.UnixTimeSinceEpoch(); + } + public UserAccount(UUID scopeID, UUID principalID, string firstName, string lastName, string email) { PrincipalID = principalID;