From 0862627b341641ec0223bb4191dfee8d85724c9e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 28 Nov 2008 15:34:30 +0000 Subject: * refactor: move CreateUser into UserServiceAdmin --- OpenSim/Region/Application/OpenSim.cs | 4 ++-- OpenSim/Region/Application/OpenSimBase.cs | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) (limited to 'OpenSim/Region/Application') diff --git a/OpenSim/Region/Application/OpenSim.cs b/OpenSim/Region/Application/OpenSim.cs index d44eedf..d29d0e4 100644 --- a/OpenSim/Region/Application/OpenSim.cs +++ b/OpenSim/Region/Application/OpenSim.cs @@ -535,7 +535,7 @@ namespace OpenSim } else { - m_console.Notice("Create user is not available in grid mode, use the user-server."); + m_console.Notice("Create user is not available in grid mode, use the user server."); } break; } @@ -800,7 +800,7 @@ namespace OpenSim if (null == m_commsManager.UserService.GetUserProfile(firstName, lastName)) { - CreateUser(firstName, lastName, password, email, regX, regY); + m_commsManager.UserServiceAdmin.AddUser(firstName, lastName, password, email, regX, regY); } else { diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs index fb620c3..7ccb3d4 100644 --- a/OpenSim/Region/Application/OpenSimBase.cs +++ b/OpenSim/Region/Application/OpenSimBase.cs @@ -298,11 +298,6 @@ namespace OpenSim m_assetCache = new AssetCache(assetServer); } - public UUID CreateUser(string tempfirstname, string templastname, string tempPasswd, string email, uint regX, uint regY) - { - return m_commsManager.AddUser(tempfirstname, templastname, tempPasswd, email, regX, regY); - } - public void ProcessLogin(bool LoginEnabled) { if (LoginEnabled) @@ -314,8 +309,7 @@ namespace OpenSim { m_log.Info("[Login] Login are now disabled "); m_commsManager.GridService.RegionLoginsEnabled = false; - } - + } } /// -- cgit v1.1