* minor: Eliminate unused paramter in LocalUserServices constructors
parent
0862627b34
commit
7b49c711e9
|
@ -72,12 +72,12 @@ namespace OpenSim.Grid.UserServer
|
||||||
public void setloginlevel(int level)
|
public void setloginlevel(int level)
|
||||||
{
|
{
|
||||||
m_minLoginLevel = 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)
|
public void setwelcometext(string text)
|
||||||
{
|
{
|
||||||
m_welcomeMessage = 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)
|
public override void LogOffUser(UserProfileData theUser, string message)
|
||||||
|
|
|
@ -82,8 +82,8 @@ namespace OpenSim
|
||||||
inventoryService.AddPlugin(m_configSettings.StandaloneInventoryPlugin, m_configSettings.StandaloneInventorySource);
|
inventoryService.AddPlugin(m_configSettings.StandaloneInventoryPlugin, m_configSettings.StandaloneInventorySource);
|
||||||
|
|
||||||
LocalUserServices userService =
|
LocalUserServices userService =
|
||||||
new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX,
|
new LocalUserServices(
|
||||||
m_networkServersInfo.DefaultHomeLocY, inventoryService);
|
m_networkServersInfo.DefaultHomeLocX, m_networkServersInfo.DefaultHomeLocY, inventoryService);
|
||||||
userService.AddPlugin(m_configSettings.StandaloneUserPlugin, m_configSettings.StandaloneUserSource);
|
userService.AddPlugin(m_configSettings.StandaloneUserPlugin, m_configSettings.StandaloneUserSource);
|
||||||
|
|
||||||
//LocalBackEndServices backendService = new LocalBackEndServices();
|
//LocalBackEndServices backendService = new LocalBackEndServices();
|
||||||
|
|
|
@ -210,8 +210,8 @@ namespace OpenSim
|
||||||
inventoryService.AddPlugin(m_configSettings.StandaloneInventoryPlugin, m_configSettings.StandaloneInventorySource);
|
inventoryService.AddPlugin(m_configSettings.StandaloneInventoryPlugin, m_configSettings.StandaloneInventorySource);
|
||||||
|
|
||||||
LocalUserServices userService =
|
LocalUserServices userService =
|
||||||
new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX,
|
new LocalUserServices(
|
||||||
m_networkServersInfo.DefaultHomeLocY, inventoryService);
|
m_networkServersInfo.DefaultHomeLocX, m_networkServersInfo.DefaultHomeLocY, inventoryService);
|
||||||
userService.AddPlugin(m_configSettings.StandaloneUserPlugin, m_configSettings.StandaloneUserSource);
|
userService.AddPlugin(m_configSettings.StandaloneUserPlugin, m_configSettings.StandaloneUserSource);
|
||||||
|
|
||||||
LocalBackEndServices backendService = new LocalBackEndServices();
|
LocalBackEndServices backendService = new LocalBackEndServices();
|
||||||
|
|
|
@ -40,17 +40,13 @@ namespace OpenSim.Region.Communications.Local
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// User services used when OpenSim is running in standalone mode.
|
/// User services used when OpenSim is running in standalone mode.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="serversInfo"></param>
|
|
||||||
/// <param name="defaultHomeLocX"></param>
|
/// <param name="defaultHomeLocX"></param>
|
||||||
/// <param name="defaultHomeLocY"></param>
|
/// <param name="defaultHomeLocY"></param>
|
||||||
/// <param name="inventoryService"></param>
|
/// <param name="inventoryService"></param>
|
||||||
/// <param name="statsCollector">Can be null if stats collection is not required.</param>
|
public LocalUserServices(
|
||||||
public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY,
|
uint defaultHomeLocX, uint defaultHomeLocY, IInterServiceInventoryServices interServiceInventoryService)
|
||||||
IInterServiceInventoryServices interServiceInventoryService)
|
|
||||||
: base(interServiceInventoryService)
|
: base(interServiceInventoryService)
|
||||||
{
|
{
|
||||||
// m_serversInfo = serversInfo;
|
|
||||||
|
|
||||||
m_defaultHomeX = defaultHomeLocX;
|
m_defaultHomeX = defaultHomeLocX;
|
||||||
m_defaultHomeY = defaultHomeLocY;
|
m_defaultHomeY = defaultHomeLocY;
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ namespace OpenSim.Region.Environment.Scenes.Tests
|
||||||
m_interServiceInventoryService = lis;
|
m_interServiceInventoryService = lis;
|
||||||
AddInventoryService(lis);
|
AddInventoryService(lis);
|
||||||
|
|
||||||
LocalUserServices lus = new LocalUserServices(null, 991, 992, lis);
|
LocalUserServices lus = new LocalUserServices(991, 992, lis);
|
||||||
m_userService = lus;
|
m_userService = lus;
|
||||||
m_userServiceAdmin = lus;
|
m_userServiceAdmin = lus;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue