* minor: eliminate propogation of now unused permissionToDelete flag

0.6.1-post-fixes
Justin Clarke Casey 2008-11-17 15:58:12 +00:00
parent f16cf12840
commit 48a72f51a8
2 changed files with 3 additions and 9 deletions

View File

@ -42,7 +42,6 @@ namespace OpenSim.Region.Environment.Scenes
public IClientAPI remoteClient;
public SceneObjectGroup objectGroup;
public UUID folderID;
public bool permissionToDelete;
}
/// <summary>
@ -88,7 +87,6 @@ namespace OpenSim.Region.Environment.Scenes
dtis.folderID = folderID;
dtis.objectGroup = objectGroup;
dtis.remoteClient = remoteClient;
dtis.permissionToDelete = permissionToDelete;
m_inventoryDeletes.Enqueue(dtis);
}
@ -129,13 +127,11 @@ namespace OpenSim.Region.Environment.Scenes
try
{
m_scene.DeleteToInventory(x.destination,
x.folderID, x.objectGroup, x.remoteClient,
x.permissionToDelete);
m_scene.DeleteToInventory(x.destination, x.folderID, x.objectGroup, x.remoteClient);
}
catch (Exception e)
{
m_log.DebugFormat("Exception background deleting object: "+e.ToString());
m_log.DebugFormat("Exception background deleting object: " +e);
}
return true;

View File

@ -1639,10 +1639,8 @@ namespace OpenSim.Region.Environment.Scenes
/// <param name="remoteClient"> </param>
/// <param name="objectGroup"></param>
/// <param name="folderID"></param>
/// <param name="permissionToDelete"></param>
public virtual UUID DeleteToInventory(int destination, UUID folderID,
SceneObjectGroup objectGroup, IClientAPI remoteClient,
bool permissionToDelete)
SceneObjectGroup objectGroup, IClientAPI remoteClient)
{
UUID assetID = UUID.Zero;