Mark XAssetService obsolete and warn users.
parent
41b28550ad
commit
719c0d09ae
|
@ -41,6 +41,7 @@ namespace OpenSim.Services.AssetService
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A de-duplicating asset service.
|
/// A de-duplicating asset service.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete]
|
||||||
public class XAssetService : XAssetServiceBase, IAssetService
|
public class XAssetService : XAssetServiceBase, IAssetService
|
||||||
{
|
{
|
||||||
private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
|
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.Debug("[XASSET SERVICE]: Local asset service enabled");
|
||||||
|
m_log.Error("[XASSET SERVICE]: THIS ASSET SERVICE HAS BEEN MARKED OBSOLETE. PLEASE USE FSAssetService");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue