Need to also update the health check check not just the old endpoint for non trashed media.

This commit is contained in:
Shannon
2017-03-02 17:40:39 +01:00
parent 96c28c2611
commit a546803970

View File

@@ -103,7 +103,7 @@ namespace Umbraco.Web.HealthCheck.Checks.DataIntegrity
/// </remarks>
private HealthCheckStatus CheckMedia()
{
var total = _services.MediaService.Count();
var total = _services.MediaService.CountNotTrashed();
var mediaObjectType = Guid.Parse(Constants.ObjectTypes.Media);
//count entries