* minor: eliminate propogation of now unused permissionToDelete flag
parent
f16cf12840
commit
48a72f51a8
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue