From afba4dc1ce3080ef596829e7ae10c6b90615a5b0 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Wed, 21 Oct 2015 19:22:20 -0700 Subject: Mark XAssetService obsolete and warn users. --- OpenSim/Services/AssetService/XAssetService.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'OpenSim/Services/AssetService/XAssetService.cs') 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 /// /// A de-duplicating asset service. /// + [Obsolete] public class XAssetService : XAssetServiceBase, IAssetService { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); @@ -85,6 +86,7 @@ namespace OpenSim.Services.AssetService } m_log.Debug("[XASSET SERVICE]: Local asset service enabled"); + m_log.Error("[XASSET SERVICE]: THIS ASSET SERVICE HAS BEEN MARKED OBSOLETE. PLEASE USE FSAssetService"); } } } -- cgit v1.1