aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2014-01-18 00:52:36 +0000
committerJustin Clark-Casey (justincc)2014-01-18 00:52:36 +0000
commitb9453a8f6f68cff86c261d245c41955ec8f8af84 (patch)
tree6b5cb34770dffc2f69ff452ceab5da4e767bee94 /OpenSim/Region
parentimplement GlynnTuckerAssetCache.Check() (diff)
downloadopensim-SC_OLD-b9453a8f6f68cff86c261d245c41955ec8f8af84.zip
opensim-SC_OLD-b9453a8f6f68cff86c261d245c41955ec8f8af84.tar.gz
opensim-SC_OLD-b9453a8f6f68cff86c261d245c41955ec8f8af84.tar.bz2
opensim-SC_OLD-b9453a8f6f68cff86c261d245c41955ec8f8af84.tar.xz
implement CoreAssetCache.Check()
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs b/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs
index 58ce61a..f720748 100644
--- a/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs
+++ b/OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs
@@ -114,7 +114,8 @@ namespace OpenSim.Region.CoreModules.Asset
114 // 114 //
115 public bool Check(string id) 115 public bool Check(string id)
116 { 116 {
117 return false; 117 // XXX This is probably not an efficient implementation.
118 return Get(id) != null;
118 } 119 }
119 120
120 public void Cache(AssetBase asset) 121 public void Cache(AssetBase asset)