diff options
author | Justin Clarke Casey | 2009-03-25 19:14:36 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-03-25 19:14:36 +0000 |
commit | 19595a28253e413d986f2f1ebc879ba9eb4c0e8a (patch) | |
tree | 6e7ede85ecece0d48f3c450805594644e9a6a239 /OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | |
parent | adding presence.ControllingClient.Kick(msg) to the brew. (diff) | |
download | opensim-SC_OLD-19595a28253e413d986f2f1ebc879ba9eb4c0e8a.zip opensim-SC_OLD-19595a28253e413d986f2f1ebc879ba9eb4c0e8a.tar.gz opensim-SC_OLD-19595a28253e413d986f2f1ebc879ba9eb4c0e8a.tar.bz2 opensim-SC_OLD-19595a28253e413d986f2f1ebc879ba9eb4c0e8a.tar.xz |
* minor: spit out creator name on save iar
* not yet ready for use
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs index 460fbf5..dde7533 100644 --- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs +++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/InventoryArchiveWriteRequest.cs | |||
@@ -175,6 +175,18 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver | |||
175 | 175 | ||
176 | m_archive.WriteFile(filename, sw.ToString()); | 176 | m_archive.WriteFile(filename, sw.ToString()); |
177 | 177 | ||
178 | // Record the creator of this item | ||
179 | CachedUserInfo creator | ||
180 | = m_module.CommsManager.UserProfileCacheService.GetUserDetails(inventoryItem.Creator); | ||
181 | |||
182 | if (creator != null) | ||
183 | m_log.DebugFormat( | ||
184 | "[INVENTORY ARCHIVER]: Got creator {0} {1}", creator.UserProfile.Name, creator.UserProfile.ID); | ||
185 | else | ||
186 | m_log.WarnFormat( | ||
187 | "[INVENTORY ARCHIVER]: Failed to get creator profile for {0} {1}", | ||
188 | inventoryItem.Name, inventoryItem.ID); | ||
189 | |||
178 | m_assetGatherer.GatherAssetUuids(inventoryItem.AssetID, (AssetType)inventoryItem.AssetType, assetUuids); | 190 | m_assetGatherer.GatherAssetUuids(inventoryItem.AssetID, (AssetType)inventoryItem.AssetType, assetUuids); |
179 | } | 191 | } |
180 | 192 | ||