diff options
author | Diva Canto | 2009-08-10 08:14:57 -0700 |
---|---|---|
committer | Diva Canto | 2009-08-10 08:14:57 -0700 |
commit | 0d8284c7a1f5184ce50edfdf40c0b8361893426e (patch) | |
tree | 4782d51db9595cf947e7f97dac16acf2b52db8c0 /OpenSim/Region/CoreModules | |
parent | Removed IAssetServer. (diff) | |
download | opensim-SC-0d8284c7a1f5184ce50edfdf40c0b8361893426e.zip opensim-SC-0d8284c7a1f5184ce50edfdf40c0b8361893426e.tar.gz opensim-SC-0d8284c7a1f5184ce50edfdf40c0b8361893426e.tar.bz2 opensim-SC-0d8284c7a1f5184ce50edfdf40c0b8361893426e.tar.xz |
Removed IAssetCache.
WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml
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 | { |