aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data')
-rw-r--r--OpenSim/Data/MySQL/MySQLRegionData.cs2
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs8
2 files changed, 1 insertions, 9 deletions
diff --git a/OpenSim/Data/MySQL/MySQLRegionData.cs b/OpenSim/Data/MySQL/MySQLRegionData.cs
index 743c0d9..a3ac38e 100644
--- a/OpenSim/Data/MySQL/MySQLRegionData.cs
+++ b/OpenSim/Data/MySQL/MySQLRegionData.cs
@@ -507,7 +507,7 @@ namespace OpenSim.Data.MySQL
507 } 507 }
508 } 508 }
509 509
510 return terrain; 510 return null;
511 } 511 }
512 512
513 public void RemoveLandObject(UUID globalID) 513 public void RemoveLandObject(UUID globalID)
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index 532d54e..bcec805 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -676,14 +676,6 @@ namespace OpenSim.Data.Tests
676 } 676 }
677 677
678 [Test] 678 [Test]
679 public void T051_RemoveObjectWrongRegion()
680 {
681 db.RemoveObject(prim1, UUID.Random());
682 SceneObjectGroup sog = FindSOG("object1", region1);
683 Assert.That(sog, Is.Not.Null);
684 }
685
686 [Test]
687 public void T052_RemoveObject() 679 public void T052_RemoveObject()
688 { 680 {
689 db.RemoveObject(prim1, region1); 681 db.RemoveObject(prim1, region1);