From a1c9349d4765833691e7816d7f4df7bd37b9ee36 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 4 Feb 2008 16:22:58 +0000 Subject: Refactor only: serve stats objects directly through StatsManager singleton --- OpenSim/Region/Communications/Local/LocalLoginService.cs | 4 ++-- OpenSim/Region/Communications/Local/LocalUserServices.cs | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Communications/Local') 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 public LocalLoginService(UserManagerBase userManager, string welcomeMess, CommunicationsLocal parent, NetworkServersInfo serversInfo, - UserStatsReporter statsCollector, bool authenticate) - : base(userManager, parent.UserProfileCacheService.libraryRoot, statsCollector, welcomeMess) + bool authenticate) + : base(userManager, parent.UserProfileCacheService.libraryRoot, welcomeMess) { m_Parent = parent; 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 /// /// Can be null if stats collection is not required. public LocalUserServices(NetworkServersInfo serversInfo, uint defaultHomeLocX, uint defaultHomeLocY, - IInventoryServices inventoryService, UserStatsReporter statsCollector) - : base(statsCollector) + IInventoryServices inventoryService) { m_serversInfo = serversInfo; @@ -103,4 +102,4 @@ namespace OpenSim.Region.Communications.Local return data; } } -} \ No newline at end of file +} -- cgit v1.1