aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-05-21 22:40:15 +0100
committerJustin Clark-Casey (justincc)2010-05-21 22:40:15 +0100
commit3bd2ec7b2e9eeaaff62872c5a61b6cee358f51a1 (patch)
tree3df5cccef591951fa47489fd7f9e36696593c27a /OpenSim/Data/MSSQL/MSSQLInventoryData.cs
parentOnly send dialogs and notices to root agents, not child agents (diff)
downloadopensim-SC-3bd2ec7b2e9eeaaff62872c5a61b6cee358f51a1.zip
opensim-SC-3bd2ec7b2e9eeaaff62872c5a61b6cee358f51a1.tar.gz
opensim-SC-3bd2ec7b2e9eeaaff62872c5a61b6cee358f51a1.tar.bz2
opensim-SC-3bd2ec7b2e9eeaaff62872c5a61b6cee358f51a1.tar.xz
Apply http://opensimulator.org/mantis/view.php?id=4724
Tweak to update appearance calls Fix for deleting inventory items from a folder. Thanks StrawberryFride!
Diffstat (limited to 'OpenSim/Data/MSSQL/MSSQLInventoryData.cs')
-rw-r--r--OpenSim/Data/MSSQL/MSSQLInventoryData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
index 1482184..c1eee8d 100644
--- a/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
+++ b/OpenSim/Data/MSSQL/MSSQLInventoryData.cs
@@ -635,9 +635,9 @@ namespace OpenSim.Data.MSSQL
635 /// <param name="connection">connection to the database</param> 635 /// <param name="connection">connection to the database</param>
636 private void DeleteItemsInFolder(UUID folderID, SqlConnection connection) 636 private void DeleteItemsInFolder(UUID folderID, SqlConnection connection)
637 { 637 {
638 using (SqlCommand command = new SqlCommand("DELETE FROM inventoryitems WHERE folderID=@folderID", connection)) 638 using (SqlCommand command = new SqlCommand("DELETE FROM inventoryitems WHERE parentFolderID=@parentFolderID", connection))
639 { 639 {
640 command.Parameters.Add(database.CreateParameter("folderID", folderID)); 640 command.Parameters.Add(database.CreateParameter("parentFolderID", folderID));
641 641
642 try 642 try
643 { 643 {