Mark XAssetService obsolete and warn users.

avinationmerge
Diva Canto 2015-10-21 19:22:20 -07:00
parent 41b28550ad
commit 719c0d09ae
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");
}
}
}