fix bug where outfit folder links could not be deleted
parent
d9889ae2e7
commit
ab855e6f8d
|
@ -40,9 +40,9 @@ namespace OpenSim.Services.InventoryService
|
||||||
{
|
{
|
||||||
public class XInventoryService : ServiceBase, IInventoryService
|
public class XInventoryService : ServiceBase, IInventoryService
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log =
|
// private static readonly ILog m_log =
|
||||||
LogManager.GetLogger(
|
// LogManager.GetLogger(
|
||||||
MethodBase.GetCurrentMethod().DeclaringType);
|
// MethodBase.GetCurrentMethod().DeclaringType);
|
||||||
|
|
||||||
protected IXInventoryData m_Database;
|
protected IXInventoryData m_Database;
|
||||||
protected bool m_AllowDelete = true;
|
protected bool m_AllowDelete = true;
|
||||||
|
@ -424,7 +424,7 @@ namespace OpenSim.Services.InventoryService
|
||||||
{
|
{
|
||||||
if (!m_Database.DeleteItems(
|
if (!m_Database.DeleteItems(
|
||||||
new string[] { "inventoryID", "assetType" },
|
new string[] { "inventoryID", "assetType" },
|
||||||
new string[] { id.ToString(), ((sbyte)AssetType.Link).ToString() }));
|
new string[] { id.ToString(), ((sbyte)AssetType.Link).ToString() }))
|
||||||
{
|
{
|
||||||
m_Database.DeleteItems(
|
m_Database.DeleteItems(
|
||||||
new string[] { "inventoryID", "assetType" },
|
new string[] { "inventoryID", "assetType" },
|
||||||
|
|
Loading…
Reference in New Issue