From 7b49c711e93632276ee0f01a97ad67e9988f773a Mon Sep 17 00:00:00 2001
From: Justin Clarke Casey
Date: Fri, 28 Nov 2008 15:40:44 +0000
Subject: * minor: Eliminate unused paramter in LocalUserServices constructors
---
OpenSim/Region/Application/HGOpenSimNode.cs | 4 ++--
OpenSim/Region/Application/OpenSimBase.cs | 4 ++--
OpenSim/Region/Communications/Local/LocalUserServices.cs | 8 ++------
.../Region/Environment/Scenes/Tests/TestCommunicationsManager.cs | 2 +-
4 files changed, 7 insertions(+), 11 deletions(-)
(limited to 'OpenSim/Region')
diff --git a/OpenSim/Region/Application/HGOpenSimNode.cs b/OpenSim/Region/Application/HGOpenSimNode.cs
index 7605bae..8f6fd5e 100644
--- a/OpenSim/Region/Application/HGOpenSimNode.cs
+++ b/OpenSim/Region/Application/HGOpenSimNode.cs
@@ -82,8 +82,8 @@ namespace OpenSim
inventoryService.AddPlugin(m_configSettings.StandaloneInventoryPlugin, m_configSettings.StandaloneInventorySource);
LocalUserServices userService =
- new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX,
- m_networkServersInfo.DefaultHomeLocY, inventoryService);
+ new LocalUserServices(
+ m_networkServersInfo.DefaultHomeLocX, m_networkServersInfo.DefaultHomeLocY, inventoryService);
userService.AddPlugin(m_configSettings.StandaloneUserPlugin, m_configSettings.StandaloneUserSource);
//LocalBackEndServices backendService = new LocalBackEndServices();
diff --git a/OpenSim/Region/Application/OpenSimBase.cs b/OpenSim/Region/Application/OpenSimBase.cs
index 7ccb3d4..f7ffa00 100644
--- a/OpenSim/Region/Application/OpenSimBase.cs
+++ b/OpenSim/Region/Application/OpenSimBase.cs
@@ -210,8 +210,8 @@ namespace OpenSim
inventoryService.AddPlugin(m_configSettings.StandaloneInventoryPlugin, m_configSettings.StandaloneInventorySource);
LocalUserServices userService =
- new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX,
- m_networkServersInfo.DefaultHomeLocY, inventoryService);
+ new LocalUserServices(
+ m_networkServersInfo.DefaultHomeLocX, m_networkServersInfo.DefaultHomeLocY, inventoryService);
userService.AddPlugin(m_configSettings.StandaloneUserPlugin, m_configSettings.StandaloneUserSource);
LocalBackEndServices backendService = new LocalBackEndServices();
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs
index e0c9c83..f4fe686 100644
--- a/OpenSim/Region/Communications/Local/LocalUserServices.cs
+++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs
@@ -40,17 +40,13 @@ namespace OpenSim.Region.Communications.Local
///
/// User services used when OpenSim is running in standalone mode.
///
- ///
///
///
///
- /// Can be null if stats collection is not required.
- public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY,
- IInterServiceInventoryServices interServiceInventoryService)
+ public LocalUserServices(
+ uint defaultHomeLocX, uint defaultHomeLocY, IInterServiceInventoryServices interServiceInventoryService)
: base(interServiceInventoryService)
{
- // m_serversInfo = serversInfo;
-
m_defaultHomeX = defaultHomeLocX;
m_defaultHomeY = defaultHomeLocY;
}
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestCommunicationsManager.cs b/OpenSim/Region/Environment/Scenes/Tests/TestCommunicationsManager.cs
index b9804d9..1607e03 100644
--- a/OpenSim/Region/Environment/Scenes/Tests/TestCommunicationsManager.cs
+++ b/OpenSim/Region/Environment/Scenes/Tests/TestCommunicationsManager.cs
@@ -42,7 +42,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
m_interServiceInventoryService = lis;
AddInventoryService(lis);
- LocalUserServices lus = new LocalUserServices(null, 991, 992, lis);
+ LocalUserServices lus = new LocalUserServices(991, 992, lis);
m_userService = lus;
m_userServiceAdmin = lus;
}
--
cgit v1.1