From 805cb9f0796d19dc92822e8c08d56083fe0ef8b1 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 4 Nov 2014 13:47:37 +0100 Subject: [PATCH] Do not report whether files were skipped because they already exist I've removed the summary earlier as a user does not configure this in any way so it's not necessary to show him what should had happened to files as well. refs #7163 --- library/Icinga/Web/Setup/MakeDirStep.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/Icinga/Web/Setup/MakeDirStep.php b/library/Icinga/Web/Setup/MakeDirStep.php index bbf7b0e0d..d588aa3cb 100644 --- a/library/Icinga/Web/Setup/MakeDirStep.php +++ b/library/Icinga/Web/Setup/MakeDirStep.php @@ -52,7 +52,6 @@ class MakeDirStep extends Step public function getReport() { $okMessage = t('Directory "%s" in "%s" has been successfully created.'); - $existsMessage = t('Directory "%s" does already exist in "%s". Nothing to do.'); $failMessage = t('Unable to create directory "%s" in "%s". An error occured:'); $report = ''; @@ -64,8 +63,6 @@ class MakeDirStep extends Step } else { $report .= '

' . sprintf($okMessage, basename($path), dirname($path)) . '

'; } - } else { - $report .= '

' . sprintf($existsMessage, basename($path), dirname($path)) . '

'; } }