diff options
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs b/OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs index 8cf039d..5208e7a 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs | |||
@@ -35,6 +35,7 @@ using log4net; | |||
35 | using OpenMetaverse; | 35 | using OpenMetaverse; |
36 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
37 | using OpenSim.Framework.Serialization; | 37 | using OpenSim.Framework.Serialization; |
38 | using OpenSim.Services.Interfaces; | ||
38 | 39 | ||
39 | namespace OpenSim.Region.CoreModules.World.Archiver | 40 | namespace OpenSim.Region.CoreModules.World.Archiver |
40 | { | 41 | { |
@@ -60,9 +61,9 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
60 | /// <summary> | 61 | /// <summary> |
61 | /// Cache to which dearchived assets will be added | 62 | /// Cache to which dearchived assets will be added |
62 | /// </summary> | 63 | /// </summary> |
63 | protected IAssetCache m_cache; | 64 | protected IAssetService m_cache; |
64 | 65 | ||
65 | public AssetsDearchiver(IAssetCache cache) | 66 | public AssetsDearchiver(IAssetService cache) |
66 | { | 67 | { |
67 | m_cache = cache; | 68 | m_cache = cache; |
68 | } | 69 | } |
@@ -162,7 +163,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
162 | asset.Type = metadata.AssetType; | 163 | asset.Type = metadata.AssetType; |
163 | asset.Data = data; | 164 | asset.Data = data; |
164 | 165 | ||
165 | m_cache.AddAsset(asset); | 166 | m_cache.Store(asset); |
166 | } | 167 | } |
167 | else | 168 | else |
168 | { | 169 | { |