diff options
author | Justin Clarke Casey | 2009-01-06 15:26:30 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-06 15:26:30 +0000 |
commit | 47a693ff1a9379c9f18e9bfcc51725ed20045a62 (patch) | |
tree | 18b048a87e4cabd4803f4376b20b63b46f8d45e5 /OpenSim/Region/UserStatistics/WebStatsModule.cs | |
parent | * Added three new events to SceneGraph: (diff) | |
download | opensim-SC-47a693ff1a9379c9f18e9bfcc51725ed20045a62.zip opensim-SC-47a693ff1a9379c9f18e9bfcc51725ed20045a62.tar.gz opensim-SC-47a693ff1a9379c9f18e9bfcc51725ed20045a62.tar.bz2 opensim-SC-47a693ff1a9379c9f18e9bfcc51725ed20045a62.tar.xz |
* remove mono compiler warnings
Diffstat (limited to 'OpenSim/Region/UserStatistics/WebStatsModule.cs')
-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); |