From a54680397099c2b695c1a56bf92147bfeda41eb0 Mon Sep 17 00:00:00 2001 From: Shannon Date: Thu, 2 Mar 2017 17:40:39 +0100 Subject: [PATCH] Need to also update the health check check not just the old endpoint for non trashed media. --- .../Checks/DataIntegrity/XmlDataIntegrityHealthCheck.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/HealthCheck/Checks/DataIntegrity/XmlDataIntegrityHealthCheck.cs b/src/Umbraco.Web/HealthCheck/Checks/DataIntegrity/XmlDataIntegrityHealthCheck.cs index 5d888ef117..8b94271e29 100644 --- a/src/Umbraco.Web/HealthCheck/Checks/DataIntegrity/XmlDataIntegrityHealthCheck.cs +++ b/src/Umbraco.Web/HealthCheck/Checks/DataIntegrity/XmlDataIntegrityHealthCheck.cs @@ -103,7 +103,7 @@ namespace Umbraco.Web.HealthCheck.Checks.DataIntegrity /// private HealthCheckStatus CheckMedia() { - var total = _services.MediaService.Count(); + var total = _services.MediaService.CountNotTrashed(); var mediaObjectType = Guid.Parse(Constants.ObjectTypes.Media); //count entries