* minor: Eliminate unused paramter in LocalUserServices constructors
parent
0862627b34
commit
7b49c711e9
|
@ -72,12 +72,12 @@ namespace OpenSim.Grid.UserServer
|
|||
public void setloginlevel(int level)
|
||||
{
|
||||
m_minLoginLevel = level;
|
||||
m_log.InfoFormat("[GRID] Login Level set to {0} ", level);
|
||||
m_log.InfoFormat("[GRID]: Login Level set to {0} ", level);
|
||||
}
|
||||
public void setwelcometext(string text)
|
||||
{
|
||||
m_welcomeMessage = text;
|
||||
m_log.InfoFormat("[GRID] Login text set to {0} ", text);
|
||||
m_log.InfoFormat("[GRID]: Login text set to {0} ", text);
|
||||
}
|
||||
|
||||
public override void LogOffUser(UserProfileData theUser, string message)
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -40,17 +40,13 @@ namespace OpenSim.Region.Communications.Local
|
|||
/// <summary>
|
||||
/// User services used when OpenSim is running in standalone mode.
|
||||
/// </summary>
|
||||
/// <param name="serversInfo"></param>
|
||||
/// <param name="defaultHomeLocX"></param>
|
||||
/// <param name="defaultHomeLocY"></param>
|
||||
/// <param name="inventoryService"></param>
|
||||
/// <param name="statsCollector">Can be null if stats collection is not required.</param>
|
||||
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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue