diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/UserStatistics/Sessions_Report.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/UserStatistics/Sessions_Report.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/OptionalModules/UserStatistics/Sessions_Report.cs b/OpenSim/Region/OptionalModules/UserStatistics/Sessions_Report.cs index 74e9c66..8d5434f 100644 --- a/OpenSim/Region/OptionalModules/UserStatistics/Sessions_Report.cs +++ b/OpenSim/Region/OptionalModules/UserStatistics/Sessions_Report.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Region.UserStatistics | |||
52 | SqliteConnection dbConn = (SqliteConnection)pParams["DatabaseConnection"]; | 52 | SqliteConnection dbConn = (SqliteConnection)pParams["DatabaseConnection"]; |
53 | List<SessionList> lstSessions = new List<SessionList>(); | 53 | List<SessionList> lstSessions = new List<SessionList>(); |
54 | Hashtable requestvars = (Hashtable) pParams["RequestVars"]; | 54 | Hashtable requestvars = (Hashtable) pParams["RequestVars"]; |
55 | 55 | ||
56 | 56 | ||
57 | string puserUUID = string.Empty; | 57 | string puserUUID = string.Empty; |
58 | string clientVersionString = string.Empty; | 58 | string clientVersionString = string.Empty; |
@@ -113,7 +113,7 @@ namespace OpenSim.Region.UserStatistics | |||
113 | cmd.Parameters.Add(new SqliteParameter(":client_version", clientVersionString)); | 113 | cmd.Parameters.Add(new SqliteParameter(":client_version", clientVersionString)); |
114 | 114 | ||
115 | SqliteDataReader sdr = cmd.ExecuteReader(); | 115 | SqliteDataReader sdr = cmd.ExecuteReader(); |
116 | 116 | ||
117 | if (sdr.HasRows) | 117 | if (sdr.HasRows) |
118 | { | 118 | { |
119 | UUID userUUID = UUID.Zero; | 119 | UUID userUUID = UUID.Zero; |
@@ -134,7 +134,7 @@ namespace OpenSim.Region.UserStatistics | |||
134 | } | 134 | } |
135 | 135 | ||
136 | ShortSessionData ssd = new ShortSessionData(); | 136 | ShortSessionData ssd = new ShortSessionData(); |
137 | 137 | ||
138 | ssd.last_update = Utils.UnixTimeToDateTime((uint)Convert.ToInt32(sdr["last_updated"])); | 138 | ssd.last_update = Utils.UnixTimeToDateTime((uint)Convert.ToInt32(sdr["last_updated"])); |
139 | ssd.start_time = Utils.UnixTimeToDateTime((uint)Convert.ToInt32(sdr["start_time"])); | 139 | ssd.start_time = Utils.UnixTimeToDateTime((uint)Convert.ToInt32(sdr["start_time"])); |
140 | ssd.session_id = UUID.Parse(sdr["session_id"].ToString()); | 140 | ssd.session_id = UUID.Parse(sdr["session_id"].ToString()); |
@@ -145,7 +145,7 @@ namespace OpenSim.Region.UserStatistics | |||
145 | } | 145 | } |
146 | } | 146 | } |
147 | sdr.Close(); | 147 | sdr.Close(); |
148 | cmd.Dispose(); | 148 | cmd.Dispose(); |
149 | } | 149 | } |
150 | modeldata["SessionData"] = lstSessions; | 150 | modeldata["SessionData"] = lstSessions; |
151 | return modeldata; | 151 | return modeldata; |
@@ -248,7 +248,7 @@ TD.align_top { vertical-align: top; } | |||
248 | output.Append(sesdata.client_version); | 248 | output.Append(sesdata.client_version); |
249 | HTMLUtil.TD_C(ref output); | 249 | HTMLUtil.TD_C(ref output); |
250 | HTMLUtil.TR_C(ref output); | 250 | HTMLUtil.TR_C(ref output); |
251 | 251 | ||
252 | } | 252 | } |
253 | HTMLUtil.TR_O(ref output, ""); | 253 | HTMLUtil.TR_O(ref output, ""); |
254 | HTMLUtil.TD_O(ref output, "align_top", 1, 5); | 254 | HTMLUtil.TD_O(ref output, "align_top", 1, 5); |