From 1813946937267edde79cb471c357f6cd85efd8ec Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 7 Jul 2008 19:18:44 +0000 Subject: * remove unused CommitAssets() hook for now --- OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 5 ----- OpenSim/Framework/Communications/Cache/GridAssetClient.cs | 4 ---- OpenSim/Framework/Communications/Cache/SQLAssetServer.cs | 7 ------- 3 files changed, 16 deletions(-) (limited to 'OpenSim/Framework/Communications/Cache') diff --git a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs index 74b1976..f65b88f 100644 --- a/OpenSim/Framework/Communications/Cache/AssetServerBase.cs +++ b/OpenSim/Framework/Communications/Cache/AssetServerBase.cs @@ -50,7 +50,6 @@ namespace OpenSim.Framework.Communications.Cache protected IAssetLoader assetLoader = new AssetLoaderFileSystem(); protected abstract void StoreAsset(AssetBase asset); - protected abstract void CommitAssets(); /// /// This method must be implemented by a subclass to retrieve the asset named in the @@ -108,8 +107,6 @@ namespace OpenSim.Framework.Communications.Cache m_log.Info("[ASSET SERVER]: Setting up asset database"); assetLoader.ForEachDefaultXmlAsset(StoreAsset); - - CommitAssets(); } public AssetServerBase() @@ -167,7 +164,6 @@ namespace OpenSim.Framework.Communications.Cache lock (m_syncLock) { m_assetProvider.UpdateAsset(asset); - m_assetProvider.CommitAssets(); } } @@ -176,7 +172,6 @@ namespace OpenSim.Framework.Communications.Cache lock (m_syncLock) { StoreAsset(asset); - CommitAssets(); } } diff --git a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs index 7787805..6caabcd 100644 --- a/OpenSim/Framework/Communications/Cache/GridAssetClient.cs +++ b/OpenSim/Framework/Communications/Cache/GridAssetClient.cs @@ -106,10 +106,6 @@ namespace OpenSim.Framework.Communications.Cache } } - protected override void CommitAssets() - { - } - public override void Close() { throw new Exception("The method or operation is not implemented."); diff --git a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs index 334c5bd..95696ee 100644 --- a/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs +++ b/OpenSim/Framework/Communications/Cache/SQLAssetServer.cs @@ -74,8 +74,6 @@ namespace OpenSim.Framework.Communications.Cache public override void Close() { base.Close(); - - m_assetProvider.CommitAssets(); } protected override AssetBase GetAsset(AssetRequest req) @@ -93,10 +91,5 @@ namespace OpenSim.Framework.Communications.Cache { m_assetProvider.CreateAsset(asset); } - - protected override void CommitAssets() - { - m_assetProvider.CommitAssets(); - } } } -- cgit v1.1