diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 7ec4ceb..2d0f6d8 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -516,13 +516,6 @@ namespace OpenSim.Data.SQLite | |||
516 | } | 516 | } |
517 | 517 | ||
518 | prim.Inventory.RestoreInventoryItems(inventory); | 518 | prim.Inventory.RestoreInventoryItems(inventory); |
519 | |||
520 | // XXX A nasty little hack to recover the folder id for the prim (which is currently stored in | ||
521 | // every item). This data should really be stored in the prim table itself. | ||
522 | if (dbItemRows.Length > 0) | ||
523 | { | ||
524 | prim.FolderID = inventory[0].ParentID; | ||
525 | } | ||
526 | } | 519 | } |
527 | 520 | ||
528 | /// <summary> | 521 | /// <summary> |