diff options
author | Justin Clarke Casey | 2008-02-04 16:22:58 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-02-04 16:22:58 +0000 |
commit | a1c9349d4765833691e7816d7f4df7bd37b9ee36 (patch) | |
tree | 2e108496bc6761f6ed1ec671a97bf6b4ba5e6137 /OpenSim/Region/Communications/Local | |
parent | * Added note in CONTRIBUTORS.txt for _someone/mikkopa - RealXtend (diff) | |
download | opensim-SC-a1c9349d4765833691e7816d7f4df7bd37b9ee36.zip opensim-SC-a1c9349d4765833691e7816d7f4df7bd37b9ee36.tar.gz opensim-SC-a1c9349d4765833691e7816d7f4df7bd37b9ee36.tar.bz2 opensim-SC-a1c9349d4765833691e7816d7f4df7bd37b9ee36.tar.xz |
Refactor only: serve stats objects directly through StatsManager singleton
Diffstat (limited to 'OpenSim/Region/Communications/Local')
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalLoginService.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Communications/Local/LocalUserServices.cs | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs index 7dee2cb..2848b8a 100644 --- a/OpenSim/Region/Communications/Local/LocalLoginService.cs +++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs | |||
@@ -55,8 +55,8 @@ namespace OpenSim.Region.Communications.Local | |||
55 | 55 | ||
56 | public LocalLoginService(UserManagerBase userManager, string welcomeMess, | 56 | public LocalLoginService(UserManagerBase userManager, string welcomeMess, |
57 | CommunicationsLocal parent, NetworkServersInfo serversInfo, | 57 | CommunicationsLocal parent, NetworkServersInfo serversInfo, |
58 | UserStatsReporter statsCollector, bool authenticate) | 58 | bool authenticate) |
59 | : base(userManager, parent.UserProfileCacheService.libraryRoot, statsCollector, welcomeMess) | 59 | : base(userManager, parent.UserProfileCacheService.libraryRoot, welcomeMess) |
60 | { | 60 | { |
61 | m_Parent = parent; | 61 | m_Parent = parent; |
62 | this.serversInfo = serversInfo; | 62 | this.serversInfo = serversInfo; |
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index 8a4d4e7..6192a7a 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -52,8 +52,7 @@ namespace OpenSim.Region.Communications.Local | |||
52 | /// <param name="inventoryService"></param> | 52 | /// <param name="inventoryService"></param> |
53 | /// <param name="statsCollector">Can be null if stats collection is not required.</param> | 53 | /// <param name="statsCollector">Can be null if stats collection is not required.</param> |
54 | public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY, | 54 | public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY, |
55 | IInventoryServices inventoryService, UserStatsReporter statsCollector) | 55 | IInventoryServices inventoryService) |
56 | : base(statsCollector) | ||
57 | { | 56 | { |
58 | m_serversInfo = serversInfo; | 57 | m_serversInfo = serversInfo; |
59 | 58 | ||
@@ -103,4 +102,4 @@ namespace OpenSim.Region.Communications.Local | |||
103 | return data; | 102 | return data; |
104 | } | 103 | } |
105 | } | 104 | } |
106 | } \ No newline at end of file | 105 | } |