Need to also update the health check check not just the old endpoint for non trashed media.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user