aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2015-10-21 19:22:20 -0700
committerDiva Canto2015-10-21 19:22:20 -0700
commit719c0d09ae63b66506804ab4df5c443d78926d27 (patch)
tree89e2a50c0b3f3a65ad3f0e7a1363bd37a922e627
parentFix an issue introduced in 70a46fe0907c822a5244e36c338bf559ffbec965. I accide... (diff)
downloadopensim-SC_OLD-719c0d09ae63b66506804ab4df5c443d78926d27.zip
opensim-SC_OLD-719c0d09ae63b66506804ab4df5c443d78926d27.tar.gz
opensim-SC_OLD-719c0d09ae63b66506804ab4df5c443d78926d27.tar.bz2
opensim-SC_OLD-719c0d09ae63b66506804ab4df5c443d78926d27.tar.xz
Mark XAssetService obsolete and warn users.
-rw-r--r--OpenSim/Services/AssetService/XAssetService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Services/AssetService/XAssetService.cs b/OpenSim/Services/AssetService/XAssetService.cs
index f58b769..b1e5184 100644
--- a/OpenSim/Services/AssetService/XAssetService.cs
+++ b/OpenSim/Services/AssetService/XAssetService.cs
@@ -41,6 +41,7 @@ namespace OpenSim.Services.AssetService
41 /// <summary> 41 /// <summary>
42 /// A de-duplicating asset service. 42 /// A de-duplicating asset service.
43 /// </summary> 43 /// </summary>
44 [Obsolete]
44 public class XAssetService : XAssetServiceBase, IAssetService 45 public class XAssetService : XAssetServiceBase, IAssetService
45 { 46 {
46 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 47 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
@@ -85,6 +86,7 @@ namespace OpenSim.Services.AssetService
85 } 86 }
86 87
87 m_log.Debug("[XASSET SERVICE]: Local asset service enabled"); 88 m_log.Debug("[XASSET SERVICE]: Local asset service enabled");
89 m_log.Error("[XASSET SERVICE]: THIS ASSET SERVICE HAS BEEN MARKED OBSOLETE. PLEASE USE FSAssetService");
88 } 90 }
89 } 91 }
90 } 92 }