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/Application/OpenSimMain.cs | |
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 '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 1754f7e..da4cf3e 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -304,7 +304,7 @@ namespace OpenSim | |||
304 | m_log = CreateLog(); | 304 | m_log = CreateLog(); |
305 | MainLog.Instance = m_log; | 305 | MainLog.Instance = m_log; |
306 | 306 | ||
307 | StatsManager.StartCollecting(); | 307 | StatsManager.StartCollectingSimExtraStats(); |
308 | 308 | ||
309 | // Do baseclass startup sequence: OpenSim.Region.ClientStack.RegionApplicationBase.StartUp | 309 | // Do baseclass startup sequence: OpenSim.Region.ClientStack.RegionApplicationBase.StartUp |
310 | // TerrainManager, StorageManager, HTTP Server | 310 | // TerrainManager, StorageManager, HTTP Server |
@@ -320,7 +320,7 @@ namespace OpenSim | |||
320 | 320 | ||
321 | LocalUserServices userService = | 321 | LocalUserServices userService = |
322 | new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, | 322 | new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, |
323 | m_networkServersInfo.DefaultHomeLocY, inventoryService, null); | 323 | m_networkServersInfo.DefaultHomeLocY, inventoryService); |
324 | userService.AddPlugin(m_standaloneUserPlugin); | 324 | userService.AddPlugin(m_standaloneUserPlugin); |
325 | 325 | ||
326 | LocalBackEndServices backendService = new LocalBackEndServices(); | 326 | LocalBackEndServices backendService = new LocalBackEndServices(); |
@@ -333,7 +333,7 @@ namespace OpenSim | |||
333 | // TODO No user stats collection yet for standalone | 333 | // TODO No user stats collection yet for standalone |
334 | m_loginService = | 334 | m_loginService = |
335 | new LocalLoginService(userService, m_standaloneWelcomeMessage, localComms, m_networkServersInfo, | 335 | new LocalLoginService(userService, m_standaloneWelcomeMessage, localComms, m_networkServersInfo, |
336 | null, m_standaloneAuthenticate); | 336 | m_standaloneAuthenticate); |
337 | m_loginService.OnLoginToRegion += backendService.AddNewSession; | 337 | m_loginService.OnLoginToRegion += backendService.AddNewSession; |
338 | 338 | ||
339 | // XMLRPC action | 339 | // XMLRPC action |