diff options
author | Justin Clarke Casey | 2008-11-17 15:58:12 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-17 15:58:12 +0000 |
commit | 48a72f51a887d4e9cede5f3d1094325a7a1b2044 (patch) | |
tree | 4528a3f34a77716f0463a7a09c5704c8fa6b4292 | |
parent | * Fix probable partial breakage of delete to inventory in last commit (diff) | |
download | opensim-SC_OLD-48a72f51a887d4e9cede5f3d1094325a7a1b2044.zip opensim-SC_OLD-48a72f51a887d4e9cede5f3d1094325a7a1b2044.tar.gz opensim-SC_OLD-48a72f51a887d4e9cede5f3d1094325a7a1b2044.tar.bz2 opensim-SC_OLD-48a72f51a887d4e9cede5f3d1094325a7a1b2044.tar.xz |
* minor: eliminate propogation of now unused permissionToDelete flag
-rw-r--r-- | OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs | 8 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 4 |
2 files changed, 3 insertions, 9 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs b/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs index 97eb7a5..7ff78a5 100644 --- a/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs +++ b/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs | |||
@@ -42,7 +42,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
42 | public IClientAPI remoteClient; | 42 | public IClientAPI remoteClient; |
43 | public SceneObjectGroup objectGroup; | 43 | public SceneObjectGroup objectGroup; |
44 | public UUID folderID; | 44 | public UUID folderID; |
45 | public bool permissionToDelete; | ||
46 | } | 45 | } |
47 | 46 | ||
48 | /// <summary> | 47 | /// <summary> |
@@ -88,7 +87,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
88 | dtis.folderID = folderID; | 87 | dtis.folderID = folderID; |
89 | dtis.objectGroup = objectGroup; | 88 | dtis.objectGroup = objectGroup; |
90 | dtis.remoteClient = remoteClient; | 89 | dtis.remoteClient = remoteClient; |
91 | dtis.permissionToDelete = permissionToDelete; | ||
92 | 90 | ||
93 | m_inventoryDeletes.Enqueue(dtis); | 91 | m_inventoryDeletes.Enqueue(dtis); |
94 | } | 92 | } |
@@ -129,13 +127,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
129 | 127 | ||
130 | try | 128 | try |
131 | { | 129 | { |
132 | m_scene.DeleteToInventory(x.destination, | 130 | m_scene.DeleteToInventory(x.destination, x.folderID, x.objectGroup, x.remoteClient); |
133 | x.folderID, x.objectGroup, x.remoteClient, | ||
134 | x.permissionToDelete); | ||
135 | } | 131 | } |
136 | catch (Exception e) | 132 | catch (Exception e) |
137 | { | 133 | { |
138 | m_log.DebugFormat("Exception background deleting object: "+e.ToString()); | 134 | m_log.DebugFormat("Exception background deleting object: " +e); |
139 | } | 135 | } |
140 | 136 | ||
141 | return true; | 137 | return true; |
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 5dd1654..0c217dd 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | |||
@@ -1639,10 +1639,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1639 | /// <param name="remoteClient"> </param> | 1639 | /// <param name="remoteClient"> </param> |
1640 | /// <param name="objectGroup"></param> | 1640 | /// <param name="objectGroup"></param> |
1641 | /// <param name="folderID"></param> | 1641 | /// <param name="folderID"></param> |
1642 | /// <param name="permissionToDelete"></param> | ||
1643 | public virtual UUID DeleteToInventory(int destination, UUID folderID, | 1642 | public virtual UUID DeleteToInventory(int destination, UUID folderID, |
1644 | SceneObjectGroup objectGroup, IClientAPI remoteClient, | 1643 | SceneObjectGroup objectGroup, IClientAPI remoteClient) |
1645 | bool permissionToDelete) | ||
1646 | { | 1644 | { |
1647 | UUID assetID = UUID.Zero; | 1645 | UUID assetID = UUID.Zero; |
1648 | 1646 | ||