diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index 4885d6d328..63f7f1777c 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -286,27 +286,6 @@ namespace OpenSim.Region.Environment.Scenes { m_activeScripts += number; } - - public void RemovePrim(uint localID, LLUUID avatar_deleter) - { - List EntityList = GetEntities(); - - foreach (EntityBase obj in EntityList) - { - if (obj is SceneObjectGroup) - { - if (((SceneObjectGroup)obj).LocalId == localID) - { - if (m_parentScene.ExternalChecks.ExternalChecksCanDeleteObject(((SceneObjectGroup)obj).UUID, avatar_deleter)) - { - m_parentScene.RemoveSceneObject((SceneObjectGroup)obj); - m_numPrim--; - } - return; - } - } - } - } public void DetachObject(uint objectLocalID, IClientAPI remoteClient) { diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index e3f219f5e9..bbe8bd9a79 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs @@ -1319,11 +1319,6 @@ namespace OpenSim.Region.Environment.Scenes return AddNewPrim(uuid, position, rotation, treeShape); } - public void RemovePrim(uint localID, LLUUID avatar_deleter) - { - m_innerScene.RemovePrim(localID, avatar_deleter); - } - /// /// Add an object into the scene that has come from storage ///