From 1980014510f9930f2552688f4f2614ce0c7d68ed Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 29 Oct 2007 00:12:19 +0100 Subject: [PATCH] Do not add text in verbose checkdb message. The verbose state is already indicated in the mail subject, so there's no need of a reminder two lines below. This avoid void mail to be sent when no db check failed in verbose mode. Signed-off-by: Florent Bruneau --- bin/cron/checkdb.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/cron/checkdb.php b/bin/cron/checkdb.php index b8bab65..7abab81 100755 --- a/bin/cron/checkdb.php +++ b/bin/cron/checkdb.php @@ -64,9 +64,8 @@ if ( PEAR::isError($opts) ) { $opts = $opts[0]; foreach ( $opts as $opt) { switch ($opt[0]) { - case "v": - $opt_verbose=true; - echo "Mode verbeux\n"; + case "v": + $opt_verbose=true; break; } } -- 2.1.4