Mark XAssetService obsolete and warn users.

0.8.2-post-fixes
Diva Canto 2015-10-21 19:22:20 -07:00
parent 426bbb63dd
commit 2c729a1a63
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ namespace OpenSim.Services.AssetService
/// <summary>
/// A de-duplicating asset service.
/// </summary>
[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");
}
}
}