aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache/AssetServerBase.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-07-07 19:18:44 +0000
committerJustin Clarke Casey2008-07-07 19:18:44 +0000
commit1813946937267edde79cb471c357f6cd85efd8ec (patch)
treecd9854a7d72409a094ac23fed9677cf438568944 /OpenSim/Framework/Communications/Cache/AssetServerBase.cs
parent* Start scripts loaded from an archive (diff)
downloadopensim-SC_OLD-1813946937267edde79cb471c357f6cd85efd8ec.zip
opensim-SC_OLD-1813946937267edde79cb471c357f6cd85efd8ec.tar.gz
opensim-SC_OLD-1813946937267edde79cb471c357f6cd85efd8ec.tar.bz2
opensim-SC_OLD-1813946937267edde79cb471c357f6cd85efd8ec.tar.xz
* remove unused CommitAssets() hook for now
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Cache/AssetServerBase.cs5
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