diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/AssetServerBase.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetServerBase.cs | 5 |
1 files changed, 0 insertions, 5 deletions
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 | |||
50 | protected IAssetLoader assetLoader = new AssetLoaderFileSystem(); | 50 | protected IAssetLoader assetLoader = new AssetLoaderFileSystem(); |
51 | 51 | ||
52 | protected abstract void StoreAsset(AssetBase asset); | 52 | protected abstract void StoreAsset(AssetBase asset); |
53 | protected abstract void CommitAssets(); | ||
54 | 53 | ||
55 | /// <summary> | 54 | /// <summary> |
56 | /// This method must be implemented by a subclass to retrieve the asset named in the | 55 | /// This method must be implemented by a subclass to retrieve the asset named in the |
@@ -108,8 +107,6 @@ namespace OpenSim.Framework.Communications.Cache | |||
108 | m_log.Info("[ASSET SERVER]: Setting up asset database"); | 107 | m_log.Info("[ASSET SERVER]: Setting up asset database"); |
109 | 108 | ||
110 | assetLoader.ForEachDefaultXmlAsset(StoreAsset); | 109 | assetLoader.ForEachDefaultXmlAsset(StoreAsset); |
111 | |||
112 | CommitAssets(); | ||
113 | } | 110 | } |
114 | 111 | ||
115 | public AssetServerBase() | 112 | public AssetServerBase() |
@@ -167,7 +164,6 @@ namespace OpenSim.Framework.Communications.Cache | |||
167 | lock (m_syncLock) | 164 | lock (m_syncLock) |
168 | { | 165 | { |
169 | m_assetProvider.UpdateAsset(asset); | 166 | m_assetProvider.UpdateAsset(asset); |
170 | m_assetProvider.CommitAssets(); | ||
171 | } | 167 | } |
172 | } | 168 | } |
173 | 169 | ||
@@ -176,7 +172,6 @@ namespace OpenSim.Framework.Communications.Cache | |||
176 | lock (m_syncLock) | 172 | lock (m_syncLock) |
177 | { | 173 | { |
178 | StoreAsset(asset); | 174 | StoreAsset(asset); |
179 | CommitAssets(); | ||
180 | } | 175 | } |
181 | } | 176 | } |
182 | 177 | ||