aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Connectors
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs
index 94acd6c..e63dd50 100644
--- a/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs
+++ b/OpenSim/Services/Connectors/Asset/AssetServiceConnector.cs
@@ -256,11 +256,10 @@ namespace OpenSim.Services.Connectors
256 256
257 public string Store(AssetBase asset) 257 public string Store(AssetBase asset)
258 { 258 {
259 if (m_Cache != null)
260 m_Cache.Cache(asset);
259 if (asset.Temporary || asset.Local) 261 if (asset.Temporary || asset.Local)
260 { 262 {
261 if (m_Cache != null)
262 m_Cache.Cache(asset);
263
264 return asset.ID; 263 return asset.ID;
265 } 264 }
266 265