From 04a73b109d5250dfe41a0608099fe095ec52e41c Mon Sep 17 00:00:00 2001 From: Niko Ehrenfeuchter <nikolaus.ehrenfeuchter@unibas.ch> Date: Thu, 21 Dec 2017 11:10:40 +0100 Subject: [PATCH] Add threshold to GraceLocationSummary message. Refers to #1 --- AutoTx/AutoTx.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index 350c4ac..3c33626 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -943,8 +943,8 @@ namespace AutoTx } } if (string.IsNullOrEmpty(report)) - return "No expired folders in grace location.\n"; - return "Expired folders in grace location:\n" + report; + report = " -- NONE --\n"; + return "Folders older than " + threshold + " days in grace location:\n" + report; } /// <summary> -- GitLab