aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/Main.cs
diff options
context:
space:
mode:
authorMW2009-02-24 18:06:06 +0000
committerMW2009-02-24 18:06:06 +0000
commit8645fa9215575a42e2f6a21b3d2284f8c19e4b27 (patch)
tree025dc78641d56e9cac08d4bd708eea5be3818cc8 /OpenSim/Grid/UserServer/Main.cs
parentMore refactoring of the Grid/user/messaging servers. (diff)
downloadopensim-SC_OLD-8645fa9215575a42e2f6a21b3d2284f8c19e4b27.zip
opensim-SC_OLD-8645fa9215575a42e2f6a21b3d2284f8c19e4b27.tar.gz
opensim-SC_OLD-8645fa9215575a42e2f6a21b3d2284f8c19e4b27.tar.bz2
opensim-SC_OLD-8645fa9215575a42e2f6a21b3d2284f8c19e4b27.tar.xz
Removed the additions from the last revision for the "ShowHelp" delegate handling, as it seems that system isn't in use anymore.
Diffstat (limited to 'OpenSim/Grid/UserServer/Main.cs')
-rw-r--r--OpenSim/Grid/UserServer/Main.cs18
1 files changed, 1 insertions, 17 deletions
diff --git a/OpenSim/Grid/UserServer/Main.cs b/OpenSim/Grid/UserServer/Main.cs
index 49b0071..10235ab 100644
--- a/OpenSim/Grid/UserServer/Main.cs
+++ b/OpenSim/Grid/UserServer/Main.cs
@@ -204,8 +204,6 @@ namespace OpenSim.Grid.UserServer
204 204
205 #region IUGAIMCore 205 #region IUGAIMCore
206 protected Dictionary<Type, object> m_moduleInterfaces = new Dictionary<Type, object>(); 206 protected Dictionary<Type, object> m_moduleInterfaces = new Dictionary<Type, object>();
207 protected List<ShowHelpDelegate> m_showHelpDelegates = new List<ShowHelpDelegate>();
208
209 207
210 /// <summary> 208 /// <summary>
211 /// Register an Module interface. 209 /// Register an Module interface.
@@ -244,13 +242,7 @@ namespace OpenSim.Grid.UserServer
244 return m_httpServer; 242 return m_httpServer;
245 } 243 }
246 244
247 public void RegisterConsoleHelpDelegate(ShowHelpDelegate showHelp) 245
248 {
249 lock (m_showHelpDelegates)
250 {
251 m_showHelpDelegates.Add(showHelp);
252 }
253 }
254 #endregion 246 #endregion
255 247
256 #region Console Command Handlers 248 #region Console Command Handlers
@@ -258,14 +250,6 @@ namespace OpenSim.Grid.UserServer
258 protected override void ShowHelp(string[] helpArgs) 250 protected override void ShowHelp(string[] helpArgs)
259 { 251 {
260 base.ShowHelp(helpArgs); 252 base.ShowHelp(helpArgs);
261
262 lock (m_showHelpDelegates)
263 {
264 foreach (ShowHelpDelegate d in m_showHelpDelegates)
265 {
266 d(helpArgs);
267 }
268 }
269 } 253 }
270 #endregion 254 #endregion
271 255