From 0d8284c7a1f5184ce50edfdf40c0b8361893426e Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 10 Aug 2009 08:14:57 -0700 Subject: Removed IAssetCache. WARNING: PLEASE MAKE SURE TO USE THIS NEW bin/OpenSim.addin.xml --- OpenSim/Region/CoreModules/World/Archiver/AssetsDearchiver.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/CoreModules') 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; using OpenMetaverse; using OpenSim.Framework; using OpenSim.Framework.Serialization; +using OpenSim.Services.Interfaces; namespace OpenSim.Region.CoreModules.World.Archiver { @@ -60,9 +61,9 @@ namespace OpenSim.Region.CoreModules.World.Archiver /// /// Cache to which dearchived assets will be added /// - protected IAssetCache m_cache; + protected IAssetService m_cache; - public AssetsDearchiver(IAssetCache cache) + public AssetsDearchiver(IAssetService cache) { m_cache = cache; } @@ -162,7 +163,7 @@ namespace OpenSim.Region.CoreModules.World.Archiver asset.Type = metadata.AssetType; asset.Data = data; - m_cache.AddAsset(asset); + m_cache.Store(asset); } else { -- cgit v1.1