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
This commit is contained in:
parent
8913bf53c9
commit
805cb9f079
|
@ -52,7 +52,6 @@ class MakeDirStep extends Step
|
||||||
public function getReport()
|
public function getReport()
|
||||||
{
|
{
|
||||||
$okMessage = t('Directory "%s" in "%s" has been successfully created.');
|
$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:');
|
$failMessage = t('Unable to create directory "%s" in "%s". An error occured:');
|
||||||
|
|
||||||
$report = '';
|
$report = '';
|
||||||
|
@ -64,8 +63,6 @@ class MakeDirStep extends Step
|
||||||
} else {
|
} else {
|
||||||
$report .= '<p>' . sprintf($okMessage, basename($path), dirname($path)) . '</p>';
|
$report .= '<p>' . sprintf($okMessage, basename($path), dirname($path)) . '</p>';
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
$report .= '<p>' . sprintf($existsMessage, basename($path), dirname($path)) . '</p>';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue