diff options
author | Diva Canto | 2015-10-21 19:22:20 -0700 |
---|---|---|
committer | Diva Canto | 2015-10-21 19:26:00 -0700 |
commit | afba4dc1ce3080ef596829e7ae10c6b90615a5b0 (patch) | |
tree | acad57d00f3cd69dd62d82424eb855546f030297 /OpenSim/Services/AssetService | |
parent | Fix an issue introduced in 70a46fe0907c822a5244e36c338bf559ffbec965. I accide... (diff) | |
download | opensim-SC_OLD-afba4dc1ce3080ef596829e7ae10c6b90615a5b0.zip opensim-SC_OLD-afba4dc1ce3080ef596829e7ae10c6b90615a5b0.tar.gz opensim-SC_OLD-afba4dc1ce3080ef596829e7ae10c6b90615a5b0.tar.bz2 opensim-SC_OLD-afba4dc1ce3080ef596829e7ae10c6b90615a5b0.tar.xz |
Mark XAssetService obsolete and warn users.
Diffstat (limited to 'OpenSim/Services/AssetService')
-rw-r--r-- | OpenSim/Services/AssetService/XAssetService.cs | 2 |
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 | } |