aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite
diff options
context:
space:
mode:
authorlbsa712009-02-25 11:01:38 +0000
committerlbsa712009-02-25 11:01:38 +0000
commit41c883ea47105d04087fb173047b6cd7e17be40d (patch)
tree6a364760732d78c3cca79caf01973d5c34317684 /OpenSim/Data/SQLite
parentAllow /* C-style comments */ in LSL scripts. (diff)
downloadopensim-SC_OLD-41c883ea47105d04087fb173047b6cd7e17be40d.zip
opensim-SC_OLD-41c883ea47105d04087fb173047b6cd7e17be40d.tar.gz
opensim-SC_OLD-41c883ea47105d04087fb173047b6cd7e17be40d.tar.bz2
opensim-SC_OLD-41c883ea47105d04087fb173047b6cd7e17be40d.tar.xz
* Refactored SOP.FolderID weirdness by removing calls to empty setter. YEs, I do realize the setter has to be there for legacy reasons, but since the calls will never acually DO anyhting, I'm removing them.
* So, SOP.FolderID is actually a cruft field that should be removed.
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r--OpenSim/Data/SQLite/SQLiteRegionData.cs7
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>