From 01f31fd933bbaec246d2fef5756b7d83be7980e0 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 1 May 2008 16:23:53 +0000 Subject: * Breaking all the code, breaking all the code..! * Made a bunch more members static, removed some dead code, general cleaning. --- OpenSim/Grid/GridServer/GridManager.cs | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'OpenSim/Grid/GridServer') diff --git a/OpenSim/Grid/GridServer/GridManager.cs b/OpenSim/Grid/GridServer/GridManager.cs index ee2f129..7eb9c34 100644 --- a/OpenSim/Grid/GridServer/GridManager.cs +++ b/OpenSim/Grid/GridServer/GridManager.cs @@ -78,8 +78,6 @@ namespace OpenSim.Grid.GridServer m_log.Info("[DATA]: Added IGridData Interface"); } - typeInterface = null; - // Logs go here typeInterface = pluginType.GetInterface("ILogData", true); @@ -91,12 +89,8 @@ namespace OpenSim.Grid.GridServer _logplugins.Add(plug.getName(), plug); m_log.Info("[DATA]: Added ILogData Interface"); } - - typeInterface = null; } } - - pluginAssembly = null; } /// @@ -274,7 +268,7 @@ namespace OpenSim.Grid.GridServer sim.regionSendKey == Config.SimRecvKey); } - private XmlRpcResponse ErrorResponse(string error) + private static XmlRpcResponse ErrorResponse(string error) { XmlRpcResponse errorResponse = new XmlRpcResponse(); Hashtable errorResponseData = new Hashtable(); @@ -609,7 +603,7 @@ namespace OpenSim.Grid.GridServer response.Value = responseData; //RegionProfileData TheSim = null; - string uuid = String.Empty; ; + string uuid; Hashtable requestData = (Hashtable)request.Params[0]; if (requestData.ContainsKey("UUID")) @@ -744,8 +738,7 @@ namespace OpenSim.Grid.GridServer response.Value = responseData; IList simProfileList = new ArrayList(); - bool fastMode = false; // MySQL Only - fastMode = (Config.DatabaseProvider == "OpenSim.Data.MySQL.dll"); + bool fastMode = (Config.DatabaseProvider == "OpenSim.Data.MySQL.dll"); if (fastMode) { -- cgit v1.1