implement CoreAssetCache.Check()

master-beforevarregion
Justin Clark-Casey (justincc) 2014-01-18 00:52:36 +00:00
parent 427ffd3387
commit b9453a8f6f
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,8 @@ namespace OpenSim.Region.CoreModules.Asset
// //
public bool Check(string id) public bool Check(string id)
{ {
return false; // XXX This is probably not an efficient implementation.
return Get(id) != null;
} }
public void Cache(AssetBase asset) public void Cache(AssetBase asset)