aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Application/OpenSimMain.cs14
1 files changed, 1 insertions, 13 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs
index 33d0999..fd3a57f 100644
--- a/OpenSim/Region/Application/OpenSimMain.cs
+++ b/OpenSim/Region/Application/OpenSimMain.cs
@@ -521,11 +521,6 @@ namespace OpenSim
521 return udpServer; 521 return udpServer;
522 } 522 }
523 523
524 private static void CreateDefaultRegionInfoXml(string fileName)
525 {
526 new RegionInfo("DEFAULT REGION CONFIG", fileName,false);
527 }
528
529 protected override StorageManager CreateStorageManager(string connectionstring) 524 protected override StorageManager CreateStorageManager(string connectionstring)
530 { 525 {
531 return new StorageManager(m_storageDll, connectionstring, m_storagePersistPrimInventories); 526 return new StorageManager(m_storageDll, connectionstring, m_storagePersistPrimInventories);
@@ -1254,14 +1249,7 @@ namespace OpenSim
1254 /// <param name="usernum">The first out parameter describing the number of all the avatars in the Region server</param> 1249 /// <param name="usernum">The first out parameter describing the number of all the avatars in the Region server</param>
1255 public void GetAvatarNumber(out int usernum) 1250 public void GetAvatarNumber(out int usernum)
1256 { 1251 {
1257 int accounter = 0; 1252 usernum = m_sceneManager.GetCurrentSceneAvatars().Count;
1258
1259 foreach (ScenePresence presence in m_sceneManager.GetCurrentSceneAvatars()) {
1260 //presence.RegionHandle;
1261 accounter++;
1262 }
1263
1264 usernum = accounter;
1265 } 1253 }
1266 1254
1267 /// <summary> 1255 /// <summary>