diff options
author | Snoopy Pfeffer | 2012-02-03 23:53:18 +0100 |
---|---|---|
committer | Snoopy Pfeffer | 2012-02-03 23:53:18 +0100 |
commit | 83ef13a79add392247ae8e36b419fdc8bc8c6b8b (patch) | |
tree | d0b1198b0624d4d0dab2db936a60e29acd30980f /OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | |
parent | Corrected console help texts for "save iar" (diff) | |
download | opensim-SC-83ef13a79add392247ae8e36b419fdc8bc8c6b8b.zip opensim-SC-83ef13a79add392247ae8e36b419fdc8bc8c6b8b.tar.gz opensim-SC-83ef13a79add392247ae8e36b419fdc8bc8c6b8b.tar.bz2 opensim-SC-83ef13a79add392247ae8e36b419fdc8bc8c6b8b.tar.xz |
Changed save oar and save iar parameter -p|--profile to -h|--home, including corresponding RemoteAdmin parameter
Diffstat (limited to 'OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs')
-rw-r--r-- | OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs index f138437..b351703 100644 --- a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs +++ b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | |||
@@ -305,14 +305,14 @@ namespace OpenSim.Framework.Serialization.External | |||
305 | writer.WriteEndElement(); | 305 | writer.WriteEndElement(); |
306 | if (options.ContainsKey("creators") && inventoryItem.CreatorData != null && inventoryItem.CreatorData != string.Empty) | 306 | if (options.ContainsKey("creators") && inventoryItem.CreatorData != null && inventoryItem.CreatorData != string.Empty) |
307 | writer.WriteElementString("CreatorData", inventoryItem.CreatorData); | 307 | writer.WriteElementString("CreatorData", inventoryItem.CreatorData); |
308 | else if (options.ContainsKey("profile")) | 308 | else if (options.ContainsKey("home")) |
309 | { | 309 | { |
310 | if (userAccountService != null) | 310 | if (userAccountService != null) |
311 | { | 311 | { |
312 | UserAccount account = userAccountService.GetUserAccount(UUID.Zero, inventoryItem.CreatorIdAsUuid); | 312 | UserAccount account = userAccountService.GetUserAccount(UUID.Zero, inventoryItem.CreatorIdAsUuid); |
313 | if (account != null) | 313 | if (account != null) |
314 | { | 314 | { |
315 | writer.WriteElementString("CreatorData", (string)options["profile"] + "/" + inventoryItem.CreatorIdAsUuid + ";" + account.FirstName + " " + account.LastName); | 315 | writer.WriteElementString("CreatorData", (string)options["home"] + "/" + inventoryItem.CreatorIdAsUuid + ";" + account.FirstName + " " + account.LastName); |
316 | } | 316 | } |
317 | writer.WriteElementString("CreatorID", inventoryItem.CreatorId); | 317 | writer.WriteElementString("CreatorID", inventoryItem.CreatorId); |
318 | } | 318 | } |