* minor: remove redundant welcome message from inventory grid server configuration
parent
adfccd0ee0
commit
00473fcfee
|
@ -30,7 +30,7 @@ using System;
|
|||
namespace OpenSim.Framework
|
||||
{
|
||||
/// <summary>
|
||||
/// UserConfig -- For User Server Configuration
|
||||
/// Defines and handles inventory grid server configuration
|
||||
/// </summary>
|
||||
public class InventoryConfig
|
||||
{
|
||||
|
@ -55,9 +55,6 @@ namespace OpenSim.Framework
|
|||
|
||||
public void loadConfigurationOptions()
|
||||
{
|
||||
configMember.addConfigurationOption("default_startup_message",
|
||||
ConfigurationOption.ConfigurationTypes.TYPE_STRING_NOT_EMPTY,
|
||||
"Default Startup Message", "Welcome to OGS", false);
|
||||
configMember.addConfigurationOption("default_user_server",
|
||||
ConfigurationOption.ConfigurationTypes.TYPE_STRING_NOT_EMPTY,
|
||||
"Default User Server URI",
|
||||
|
@ -73,16 +70,13 @@ namespace OpenSim.Framework
|
|||
configMember.addConfigurationOption("http_port", ConfigurationOption.ConfigurationTypes.TYPE_UINT32,
|
||||
"Http Listener port", DefaultHttpPort.ToString(), false);
|
||||
configMember.addConfigurationOption("session_lookup", ConfigurationOption.ConfigurationTypes.TYPE_BOOLEAN,
|
||||
"Enable Session lookup security", "True", false);
|
||||
"Enable session lookup security", "True", false);
|
||||
}
|
||||
|
||||
public bool handleIncomingConfiguration(string configuration_key, object configuration_result)
|
||||
{
|
||||
switch (configuration_key)
|
||||
{
|
||||
case "default_startup_message":
|
||||
DefaultStartupMsg = (string) configuration_result;
|
||||
break;
|
||||
case "default_user_server":
|
||||
UserServerURL = (string) configuration_result;
|
||||
break;
|
||||
|
|
|
@ -70,7 +70,6 @@ namespace OpenSim.Grid.InventoryServer
|
|||
|
||||
m_config = new InventoryConfig(LogName, (Path.Combine(Util.configDir(), "InventoryServer_Config.xml")));
|
||||
|
||||
//m_inventoryService = new GridInventoryService();
|
||||
m_inventoryService = new GridInventoryService(m_config.UserServerURL);
|
||||
m_inventoryService.DoLookup = m_config.SessionLookUp;
|
||||
m_inventoryService.AddPlugin(m_config.DatabaseProvider, m_config.DatabaseConnect);
|
||||
|
|
Loading…
Reference in New Issue