diff options
author | onefang | 2019-07-25 20:19:51 +1000 |
---|---|---|
committer | onefang | 2019-07-25 20:19:51 +1000 |
commit | 77737c81234c98d72bffaa6ddca374504f971b12 (patch) | |
tree | 891fdce5b5d4af8cf04d4bba320c00a73ca5ae60 /OpenSim | |
parent | OpenSim dev typo-- (diff) | |
download | opensim-SC_OLD-77737c81234c98d72bffaa6ddca374504f971b12.zip opensim-SC_OLD-77737c81234c98d72bffaa6ddca374504f971b12.tar.gz opensim-SC_OLD-77737c81234c98d72bffaa6ddca374504f971b12.tar.bz2 opensim-SC_OLD-77737c81234c98d72bffaa6ddca374504f971b12.tar.xz |
Gatekeeper -> GatekeeperURI
Coz it says all over the source code -
// Legacy. Remove soon!
And has since later OpenSim 0.7s.
Diffstat (limited to 'OpenSim')
6 files changed, 13 insertions, 14 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs b/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs index 381bb4d..dfcf925 100644 --- a/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs | |||
@@ -65,11 +65,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure | |||
65 | 65 | ||
66 | m_ThisGridURL = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", | 66 | m_ThisGridURL = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", |
67 | new string[] { "Startup", "Hypergrid", "Messaging" }, String.Empty); | 67 | new string[] { "Startup", "Hypergrid", "Messaging" }, String.Empty); |
68 | // Legacy. Remove soon! | ||
69 | m_ThisGridURL = config.Configs["Messaging"].GetString("Gatekeeper", m_ThisGridURL); | ||
70 | |||
71 | m_log.DebugFormat("[LURE MODULE]: {0} enabled", Name); | 68 | m_log.DebugFormat("[LURE MODULE]: {0} enabled", Name); |
72 | } | 69 | } |
70 | // Legacy. Remove soon! | ||
71 | //// m_ThisGridURL = config.Configs["Messaging"].GetString("Gatekeeper", m_ThisGridURL); | ||
73 | } | 72 | } |
74 | } | 73 | } |
75 | 74 | ||
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs index 8ebd999..8f6eca6 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/HGInventoryAccessModule.cs | |||
@@ -104,7 +104,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
104 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(source, "GatekeeperURI", | 104 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(source, "GatekeeperURI", |
105 | new string[] { "Startup", "Hypergrid", "HGInventoryAccessModule" }, String.Empty); | 105 | new string[] { "Startup", "Hypergrid", "HGInventoryAccessModule" }, String.Empty); |
106 | // Legacy. Remove soon! | 106 | // Legacy. Remove soon! |
107 | m_ThisGatekeeper = thisModuleConfig.GetString("Gatekeeper", m_ThisGatekeeper); | 107 | //// m_ThisGatekeeper = thisModuleConfig.GetString("Gatekeeper", m_ThisGatekeeper); |
108 | 108 | ||
109 | m_OutboundPermission = thisModuleConfig.GetBoolean("OutboundPermission", true); | 109 | m_OutboundPermission = thisModuleConfig.GetBoolean("OutboundPermission", true); |
110 | m_RestrictInventoryAccessAbroad = thisModuleConfig.GetBoolean("RestrictInventoryAccessAbroad", true); | 110 | m_RestrictInventoryAccessAbroad = thisModuleConfig.GetBoolean("RestrictInventoryAccessAbroad", true); |
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs index ee17093..0efe99d 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/RemoteGridServiceConnector.cs | |||
@@ -129,7 +129,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid | |||
129 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(source, "GatekeeperURI", | 129 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(source, "GatekeeperURI", |
130 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); | 130 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); |
131 | // Legacy. Remove soon! | 131 | // Legacy. Remove soon! |
132 | m_ThisGatekeeper = gridConfig.GetString("Gatekeeper", m_ThisGatekeeper); | 132 | //// m_ThisGatekeeper = gridConfig.GetString("Gatekeeper", m_ThisGatekeeper); |
133 | 133 | ||
134 | Util.checkServiceURI(m_ThisGatekeeper, out m_ThisGatekeeper); | 134 | Util.checkServiceURI(m_ThisGatekeeper, out m_ThisGatekeeper); |
135 | 135 | ||
diff --git a/OpenSim/Region/OptionalModules/DataSnapshot/DataSnapshotManager.cs b/OpenSim/Region/OptionalModules/DataSnapshot/DataSnapshotManager.cs index 0436f96..39e731f 100644 --- a/OpenSim/Region/OptionalModules/DataSnapshot/DataSnapshotManager.cs +++ b/OpenSim/Region/OptionalModules/DataSnapshot/DataSnapshotManager.cs | |||
@@ -114,12 +114,12 @@ namespace OpenSim.Region.DataSnapshot | |||
114 | string gatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", | 114 | string gatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", |
115 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); | 115 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); |
116 | // Legacy. Remove soon! | 116 | // Legacy. Remove soon! |
117 | if (string.IsNullOrEmpty(gatekeeper)) | 117 | //// if (string.IsNullOrEmpty(gatekeeper)) |
118 | { | 118 | //// { |
119 | IConfig conf = config.Configs["GridService"]; | 119 | //// IConfig conf = config.Configs["GridService"]; |
120 | if (conf != null) | 120 | //// if (conf != null) |
121 | gatekeeper = conf.GetString("Gatekeeper", gatekeeper); | 121 | //// gatekeeper = conf.GetString("Gatekeeper", gatekeeper); |
122 | } | 122 | //// } |
123 | if (!string.IsNullOrEmpty(gatekeeper)) | 123 | if (!string.IsNullOrEmpty(gatekeeper)) |
124 | m_gridinfo.Add("gatekeeperURL", gatekeeper); | 124 | m_gridinfo.Add("gatekeeperURL", gatekeeper); |
125 | 125 | ||
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 2be5200..64da67e 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2493,8 +2493,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2493 | return gatekeeperURI; | 2493 | return gatekeeperURI; |
2494 | 2494 | ||
2495 | // Legacy. Remove soon! | 2495 | // Legacy. Remove soon! |
2496 | if (config.Configs["GridService"] != null) | 2496 | //// if (config.Configs["GridService"] != null) |
2497 | gatekeeperURI = config.Configs["GridService"].GetString("Gatekeeper", gatekeeperURI); | 2497 | //// gatekeeperURI = config.Configs["GridService"].GetString("Gatekeeper", gatekeeperURI); |
2498 | 2498 | ||
2499 | return gatekeeperURI; | 2499 | return gatekeeperURI; |
2500 | } | 2500 | } |
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index 4887232..7c384d5 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs | |||
@@ -125,7 +125,7 @@ namespace OpenSim.Services.GridService | |||
125 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", | 125 | m_ThisGatekeeper = Util.GetConfigVarFromSections<string>(config, "GatekeeperURI", |
126 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); | 126 | new string[] { "Startup", "Hypergrid", "GridService" }, String.Empty); |
127 | // Legacy. Remove soon! | 127 | // Legacy. Remove soon! |
128 | m_ThisGatekeeper = gridConfig.GetString("Gatekeeper", m_ThisGatekeeper); | 128 | //// m_ThisGatekeeper = gridConfig.GetString("Gatekeeper", m_ThisGatekeeper); |
129 | try | 129 | try |
130 | { | 130 | { |
131 | m_ThisGatekeeperURI = new Uri(m_ThisGatekeeper); | 131 | m_ThisGatekeeperURI = new Uri(m_ThisGatekeeper); |