aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local/LocalInventoryService.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-05-01 20:47:33 +0000
committerJustin Clarke Casey2008-05-01 20:47:33 +0000
commit1de6cffa28348975a2492ce1e8a85c365df4dfaf (patch)
tree6431e5598defd603a4b2a8c5020b65d7df5a56a7 /OpenSim/Region/Communications/Local/LocalInventoryService.cs
parentcreate pass through of UserManagerBase to plugin calls (diff)
downloadopensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.zip
opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.gz
opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.bz2
opensim-SC_OLD-1de6cffa28348975a2492ce1e8a85c365df4dfaf.tar.xz
* Refactor: Remove the unused userID parameter that was being passed into almost every inventory method
* This allows lots of redundant inventory methods with only slightly different names to be eliminated.
Diffstat (limited to 'OpenSim/Region/Communications/Local/LocalInventoryService.cs')
-rw-r--r--OpenSim/Region/Communications/Local/LocalInventoryService.cs35
1 files changed, 0 insertions, 35 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalInventoryService.cs b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
index 0de00a1..80108e3 100644
--- a/OpenSim/Region/Communications/Local/LocalInventoryService.cs
+++ b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
@@ -80,41 +80,6 @@ namespace OpenSim.Region.Communications.Local
80 callback(userID, folders, items); 80 callback(userID, folders, items);
81 } 81 }
82 82
83 public override void AddNewInventoryFolder(LLUUID userID, InventoryFolderBase folder)
84 {
85 AddFolder(folder);
86 }
87
88 public override void MoveExistingInventoryFolder(InventoryFolderBase folder)
89 {
90 MoveFolder(folder);
91 }
92
93 public override void AddNewInventoryItem(LLUUID userID, InventoryItemBase item)
94 {
95 AddItem(item);
96 }
97
98 public override void UpdateInventoryItem(LLUUID userID, InventoryItemBase item)
99 {
100 UpdateItem(item);
101 }
102
103 public override void DeleteInventoryItem(LLUUID userID, InventoryItemBase item)
104 {
105 DeleteItem(item);
106 }
107
108 /// <summary>
109 /// <see cref="OpenSim.Framework.Communications.IInventoryServices"></see>
110 /// </summary>
111 /// <param name="userID"></param>
112 /// <param name="folder"></param>
113 public override void PurgeInventoryFolder(LLUUID userID, InventoryFolderBase folder)
114 {
115 PurgeFolder(folder);
116 }
117
118 public override bool HasInventoryForUser(LLUUID userID) 83 public override bool HasInventoryForUser(LLUUID userID)
119 { 84 {
120 InventoryFolderBase root = RequestRootFolder(userID); 85 InventoryFolderBase root = RequestRootFolder(userID);