diff options
Diffstat (limited to 'OpenSim/Framework/Statistics')
-rw-r--r-- | OpenSim/Framework/Statistics/AssetStatsCollector.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/Statistics/UserStatsCollector.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Statistics/AssetStatsCollector.cs b/OpenSim/Framework/Statistics/AssetStatsCollector.cs index f2b765f..526132a 100644 --- a/OpenSim/Framework/Statistics/AssetStatsCollector.cs +++ b/OpenSim/Framework/Statistics/AssetStatsCollector.cs | |||
@@ -86,7 +86,7 @@ namespace OpenSim.Framework.Statistics | |||
86 | /// Report back collected statistical information. | 86 | /// Report back collected statistical information. |
87 | /// </summary> | 87 | /// </summary> |
88 | /// <returns></returns> | 88 | /// <returns></returns> |
89 | public string Report() | 89 | override public string Report() |
90 | { | 90 | { |
91 | double elapsedHours = (DateTime.Now - startTime).TotalHours; | 91 | double elapsedHours = (DateTime.Now - startTime).TotalHours; |
92 | if (elapsedHours <= 0) { elapsedHours = 1; } // prevent divide by zero | 92 | if (elapsedHours <= 0) { elapsedHours = 1; } // prevent divide by zero |
diff --git a/OpenSim/Framework/Statistics/UserStatsCollector.cs b/OpenSim/Framework/Statistics/UserStatsCollector.cs index e094d91..9ff44ca 100644 --- a/OpenSim/Framework/Statistics/UserStatsCollector.cs +++ b/OpenSim/Framework/Statistics/UserStatsCollector.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Framework.Statistics | |||
81 | /// Report back collected statistical information. | 81 | /// Report back collected statistical information. |
82 | /// </summary> | 82 | /// </summary> |
83 | /// <returns></returns> | 83 | /// <returns></returns> |
84 | public string Report() | 84 | override public string Report() |
85 | { | 85 | { |
86 | return string.Format( | 86 | return string.Format( |
87 | @"Successful logins total : {0}, today : {1}, yesterday : {2} | 87 | @"Successful logins total : {0}, today : {1}, yesterday : {2} |