diff options
Diffstat (limited to 'OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs')
-rw-r--r-- | OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs index 00f035c..899f9c0 100644 --- a/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs +++ b/OpenSim/Server/Handlers/Inventory/XInventoryInConnector.cs | |||
@@ -347,7 +347,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
347 | 347 | ||
348 | byte[] HandleAddFolder(Dictionary<string,object> request) | 348 | byte[] HandleAddFolder(Dictionary<string,object> request) |
349 | { | 349 | { |
350 | Dictionary<string,object> result = new Dictionary<string,object>(); | ||
351 | InventoryFolderBase folder = BuildFolder(request); | 350 | InventoryFolderBase folder = BuildFolder(request); |
352 | 351 | ||
353 | if (m_InventoryService.AddFolder(folder)) | 352 | if (m_InventoryService.AddFolder(folder)) |
@@ -358,7 +357,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
358 | 357 | ||
359 | byte[] HandleUpdateFolder(Dictionary<string,object> request) | 358 | byte[] HandleUpdateFolder(Dictionary<string,object> request) |
360 | { | 359 | { |
361 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
362 | InventoryFolderBase folder = BuildFolder(request); | 360 | InventoryFolderBase folder = BuildFolder(request); |
363 | 361 | ||
364 | if (m_InventoryService.UpdateFolder(folder)) | 362 | if (m_InventoryService.UpdateFolder(folder)) |
@@ -369,7 +367,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
369 | 367 | ||
370 | byte[] HandleMoveFolder(Dictionary<string,object> request) | 368 | byte[] HandleMoveFolder(Dictionary<string,object> request) |
371 | { | 369 | { |
372 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
373 | UUID parentID = UUID.Zero; | 370 | UUID parentID = UUID.Zero; |
374 | UUID.TryParse(request["ParentID"].ToString(), out parentID); | 371 | UUID.TryParse(request["ParentID"].ToString(), out parentID); |
375 | UUID folderID = UUID.Zero; | 372 | UUID folderID = UUID.Zero; |
@@ -387,7 +384,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
387 | 384 | ||
388 | byte[] HandleDeleteFolders(Dictionary<string,object> request) | 385 | byte[] HandleDeleteFolders(Dictionary<string,object> request) |
389 | { | 386 | { |
390 | Dictionary<string,object> result = new Dictionary<string,object>(); | ||
391 | UUID principal = UUID.Zero; | 387 | UUID principal = UUID.Zero; |
392 | UUID.TryParse(request["PRINCIPAL"].ToString(), out principal); | 388 | UUID.TryParse(request["PRINCIPAL"].ToString(), out principal); |
393 | List<string> slist = (List<string>)request["FOLDERS"]; | 389 | List<string> slist = (List<string>)request["FOLDERS"]; |
@@ -408,7 +404,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
408 | 404 | ||
409 | byte[] HandlePurgeFolder(Dictionary<string,object> request) | 405 | byte[] HandlePurgeFolder(Dictionary<string,object> request) |
410 | { | 406 | { |
411 | Dictionary<string,object> result = new Dictionary<string,object>(); | ||
412 | UUID folderID = UUID.Zero; | 407 | UUID folderID = UUID.Zero; |
413 | UUID.TryParse(request["ID"].ToString(), out folderID); | 408 | UUID.TryParse(request["ID"].ToString(), out folderID); |
414 | 409 | ||
@@ -421,7 +416,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
421 | 416 | ||
422 | byte[] HandleAddItem(Dictionary<string,object> request) | 417 | byte[] HandleAddItem(Dictionary<string,object> request) |
423 | { | 418 | { |
424 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
425 | InventoryItemBase item = BuildItem(request); | 419 | InventoryItemBase item = BuildItem(request); |
426 | 420 | ||
427 | if (m_InventoryService.AddItem(item)) | 421 | if (m_InventoryService.AddItem(item)) |
@@ -432,7 +426,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
432 | 426 | ||
433 | byte[] HandleUpdateItem(Dictionary<string,object> request) | 427 | byte[] HandleUpdateItem(Dictionary<string,object> request) |
434 | { | 428 | { |
435 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
436 | InventoryItemBase item = BuildItem(request); | 429 | InventoryItemBase item = BuildItem(request); |
437 | 430 | ||
438 | if (m_InventoryService.UpdateItem(item)) | 431 | if (m_InventoryService.UpdateItem(item)) |
@@ -443,7 +436,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
443 | 436 | ||
444 | byte[] HandleMoveItems(Dictionary<string,object> request) | 437 | byte[] HandleMoveItems(Dictionary<string,object> request) |
445 | { | 438 | { |
446 | Dictionary<string,object> result = new Dictionary<string,object>(); | ||
447 | List<string> idlist = (List<string>)request["IDLIST"]; | 439 | List<string> idlist = (List<string>)request["IDLIST"]; |
448 | List<string> destlist = (List<string>)request["DESTLIST"]; | 440 | List<string> destlist = (List<string>)request["DESTLIST"]; |
449 | UUID principal = UUID.Zero; | 441 | UUID principal = UUID.Zero; |
@@ -482,7 +474,6 @@ namespace OpenSim.Server.Handlers.Asset | |||
482 | 474 | ||
483 | byte[] HandleDeleteItems(Dictionary<string,object> request) | 475 | byte[] HandleDeleteItems(Dictionary<string,object> request) |
484 | { | 476 | { |
485 | Dictionary<string, object> result = new Dictionary<string, object>(); | ||
486 | UUID principal = UUID.Zero; | 477 | UUID principal = UUID.Zero; |
487 | UUID.TryParse(request["PRINCIPAL"].ToString(), out principal); | 478 | UUID.TryParse(request["PRINCIPAL"].ToString(), out principal); |
488 | List<string> slist = (List<string>)request["ITEMS"]; | 479 | List<string> slist = (List<string>)request["ITEMS"]; |