diff options
Diffstat (limited to 'OpenSim/Region/UserStatistics')
-rw-r--r-- | OpenSim/Region/UserStatistics/WebStatsModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/UserStatistics/WebStatsModule.cs b/OpenSim/Region/UserStatistics/WebStatsModule.cs index 705e77f..09c23a2 100644 --- a/OpenSim/Region/UserStatistics/WebStatsModule.cs +++ b/OpenSim/Region/UserStatistics/WebStatsModule.cs | |||
@@ -93,7 +93,7 @@ namespace OpenSim.Region.UserStatistics | |||
93 | { | 93 | { |
94 | if (m_scene.Count == 0) | 94 | if (m_scene.Count == 0) |
95 | { | 95 | { |
96 | IConfig startupConfig = config.Configs["Startup"]; | 96 | //IConfig startupConfig = config.Configs["Startup"]; |
97 | 97 | ||
98 | dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3"); | 98 | dbConn = new SqliteConnection("URI=file:LocalUserStatistics.db,version=3"); |
99 | dbConn.Open(); | 99 | dbConn.Open(); |
@@ -159,7 +159,7 @@ namespace OpenSim.Region.UserStatistics | |||
159 | } | 159 | } |
160 | public Hashtable HandleUnknownCAPSRequest(Hashtable request) | 160 | public Hashtable HandleUnknownCAPSRequest(Hashtable request) |
161 | { | 161 | { |
162 | string regpath = request["uri"].ToString(); | 162 | //string regpath = request["uri"].ToString(); |
163 | int response_code = 200; | 163 | int response_code = 200; |
164 | string contenttype = "text/html"; | 164 | string contenttype = "text/html"; |
165 | UpdateUserStats(ParseViewerStats(request["body"].ToString(), UUID.Zero), dbConn); | 165 | UpdateUserStats(ParseViewerStats(request["body"].ToString(), UUID.Zero), dbConn); |