diff options
author | Justin Clark-Casey (justincc) | 2014-01-18 00:52:36 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-01-18 00:52:36 +0000 |
commit | b9453a8f6f68cff86c261d245c41955ec8f8af84 (patch) | |
tree | 6b5cb34770dffc2f69ff452ceab5da4e767bee94 | |
parent | implement GlynnTuckerAssetCache.Check() (diff) | |
download | opensim-SC-b9453a8f6f68cff86c261d245c41955ec8f8af84.zip opensim-SC-b9453a8f6f68cff86c261d245c41955ec8f8af84.tar.gz opensim-SC-b9453a8f6f68cff86c261d245c41955ec8f8af84.tar.bz2 opensim-SC-b9453a8f6f68cff86c261d245c41955ec8f8af84.tar.xz |
implement CoreAssetCache.Check()
-rw-r--r-- | OpenSim/Region/CoreModules/Asset/CoreAssetCache.cs | 3 |
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) |