From 2d62484f11710cbeb066ab6bf02f78ad379ecca3 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Tue, 13 Sep 2011 22:27:33 +0100
Subject: Remove UpdateKnownItem() from IAttachmentsModule.
It's not appropriate for code outside the attachments module to call this.
---
.../Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 2 +-
OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs | 9 ---------
2 files changed, 1 insertion(+), 10 deletions(-)
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index ae19224..03837b5 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -705,7 +705,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
///
///
///
- public void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID)
+ private void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID)
{
if (grp.HasGroupChanged || grp.ContainsScripts())
{
diff --git a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
index e6ac6b5..5ffbec8 100644
--- a/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IAttachmentsModule.cs
@@ -138,14 +138,5 @@ namespace OpenSim.Region.Framework.Interfaces
///
///
void UpdateAttachmentPosition(SceneObjectGroup sog, Vector3 pos);
-
- ///
- /// Update the user inventory with a changed attachment
- ///
- ///
- ///
- ///
- ///
- void UpdateKnownItem(IClientAPI remoteClient, SceneObjectGroup grp, UUID itemID, UUID agentID);
}
}
--
cgit v1.1