aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController
diff options
context:
space:
mode:
authorMelanie2010-09-13 16:16:40 +0100
committerMelanie2010-09-13 16:17:38 +0100
commit6a1ce17cdbf143f11262e1194b6a6d9e5bb1077e (patch)
tree1e7bf4fddcf559886c6b2babf13cf4b2ca8829a1 /OpenSim/ApplicationPlugins/RemoteController
parentMerge branch 'careminster-presence-refactor' of ssh://melanie@3dhosting.de/va... (diff)
parentFix unit test SceneSetupHelpers to load the mock simulation data store (diff)
downloadopensim-SC_OLD-6a1ce17cdbf143f11262e1194b6a6d9e5bb1077e.zip
opensim-SC_OLD-6a1ce17cdbf143f11262e1194b6a6d9e5bb1077e.tar.gz
opensim-SC_OLD-6a1ce17cdbf143f11262e1194b6a6d9e5bb1077e.tar.bz2
opensim-SC_OLD-6a1ce17cdbf143f11262e1194b6a6d9e5bb1077e.tar.xz
Merge branch 'master' into careminster-presence-refactor
The modules will need to be updated for this to compile and run again. Please don't use until I do the companion commit to modules later on.
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController')
-rw-r--r--OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
index 0608f66..a47fc01 100644
--- a/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
@@ -756,7 +756,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
756 // Set the estate 756 // Set the estate
757 757
758 // Check for an existing estate 758 // Check for an existing estate
759 List<int> estateIDs = m_application.StorageManager.EstateDataStore.GetEstates((string) requestData["estate_name"]); 759 List<int> estateIDs = m_application.EstateDataService.GetEstates((string) requestData["estate_name"]);
760 if (estateIDs.Count < 1) 760 if (estateIDs.Count < 1)
761 { 761 {
762 UUID userID = UUID.Zero; 762 UUID userID = UUID.Zero;
@@ -784,7 +784,7 @@ namespace OpenSim.ApplicationPlugins.RemoteController
784 } 784 }
785 785
786 // Create a new estate with the name provided 786 // Create a new estate with the name provided
787 region.EstateSettings = m_application.StorageManager.EstateDataStore.LoadEstateSettings(region.RegionID, true); 787 region.EstateSettings = m_application.EstateDataService.LoadEstateSettings(region.RegionID, true);
788 788
789 region.EstateSettings.EstateName = (string) requestData["estate_name"]; 789 region.EstateSettings.EstateName = (string) requestData["estate_name"];
790 region.EstateSettings.EstateOwner = userID; 790 region.EstateSettings.EstateOwner = userID;
@@ -794,10 +794,10 @@ namespace OpenSim.ApplicationPlugins.RemoteController
794 else 794 else
795 { 795 {
796 int estateID = estateIDs[0]; 796 int estateID = estateIDs[0];
797 797
798 region.EstateSettings = m_application.StorageManager.EstateDataStore.LoadEstateSettings(estateID); 798 region.EstateSettings = m_application.EstateDataService.LoadEstateSettings(estateID);
799 799
800 if (!m_application.StorageManager.EstateDataStore.LinkRegion(region.RegionID, estateID)) 800 if (!m_application.EstateDataService.LinkRegion(region.RegionID, estateID))
801 throw new Exception("Failed to join estate."); 801 throw new Exception("Failed to join estate.");
802 } 802 }
803 803