diff options
author | Melanie Thielker | 2008-10-21 00:44:57 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-21 00:44:57 +0000 |
commit | 5865a2b8f8bbafe6e55a91f6f716c13a0ef7adb6 (patch) | |
tree | 87ef7bf9a231917e99863199390246a5eb11d596 /OpenSim/Framework/TaskInventoryItem.cs | |
parent | Mantis #2439 (diff) | |
download | opensim-SC-5865a2b8f8bbafe6e55a91f6f716c13a0ef7adb6.zip opensim-SC-5865a2b8f8bbafe6e55a91f6f716c13a0ef7adb6.tar.gz opensim-SC-5865a2b8f8bbafe6e55a91f6f716c13a0ef7adb6.tar.bz2 opensim-SC-5865a2b8f8bbafe6e55a91f6f716c13a0ef7adb6.tar.xz |
Set a default creation date on inventory and task inventory items
Diffstat (limited to 'OpenSim/Framework/TaskInventoryItem.cs')
-rw-r--r-- | OpenSim/Framework/TaskInventoryItem.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Framework/TaskInventoryItem.cs b/OpenSim/Framework/TaskInventoryItem.cs index 45b806e..fdb1137 100644 --- a/OpenSim/Framework/TaskInventoryItem.cs +++ b/OpenSim/Framework/TaskInventoryItem.cs | |||
@@ -336,5 +336,10 @@ namespace OpenSim.Framework | |||
336 | _itemID = UUID.Random(); | 336 | _itemID = UUID.Random(); |
337 | _parentPartID = partID; | 337 | _parentPartID = partID; |
338 | } | 338 | } |
339 | |||
340 | public TaskInventoryItem() | ||
341 | { | ||
342 | _creationDate = (uint)(DateTime.UtcNow - new DateTime(1970, 1, 1)).TotalSeconds; | ||
343 | } | ||
339 | } | 344 | } |
340 | } | 345 | } |