aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Data.MySQL/MySQLDataStore.cs2
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
index a752236..47b3c43 100644
--- a/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
+++ b/OpenSim/Framework/Data.MySQL/MySQLDataStore.cs
@@ -312,7 +312,7 @@ namespace OpenSim.Framework.Data.MySQL
312 MainLog.Instance.Verbose("DATASTORE", "Restored item {0}, {1}", item.Name, item.ItemID); 312 MainLog.Instance.Verbose("DATASTORE", "Restored item {0}, {1}", item.Name, item.ItemID);
313 } 313 }
314 314
315 prim.AddInventoryItems(inventory); 315 prim.RestoreInventoryItems(inventory);
316 316
317 // XXX A nasty little hack to recover the folder id for the prim (which is currently stored in 317 // XXX A nasty little hack to recover the folder id for the prim (which is currently stored in
318 // every item). This data should really be stored in the prim table itself. 318 // every item). This data should really be stored in the prim table itself.
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
index ba50dca..0035311 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
@@ -356,7 +356,7 @@ namespace OpenSim.Framework.Data.SQLite
356 MainLog.Instance.Verbose("DATASTORE", "Restored item {0}, {1}", item.Name, item.ItemID); 356 MainLog.Instance.Verbose("DATASTORE", "Restored item {0}, {1}", item.Name, item.ItemID);
357 } 357 }
358 358
359 prim.AddInventoryItems(inventory); 359 prim.RestoreInventoryItems(inventory);
360 360
361 // XXX A nasty little hack to recover the folder id for the prim (which is currently stored in 361 // XXX A nasty little hack to recover the folder id for the prim (which is currently stored in
362 // every item). This data should really be stored in the prim table itself. 362 // every item). This data should really be stored in the prim table itself.