aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs')
-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