added option to override verbose for automated checks

This commit is contained in:
tracer 2022-09-17 17:38:55 +02:00
parent 72e9731562
commit e94819ed7f
1 changed files with 8 additions and 3 deletions

View File

@ -127,10 +127,15 @@ class DomainController
/**
* @return bool
*/
function checkPermissions(): bool
function checkPermissions(bool $disableVerbose = false): bool
{
$setupIsValid = true;
$verbose = $this->configController->getConfig(configKey: 'verbose');
if (!$disableVerbose) {
$verbose = $this->configController->getConfig(configKey: 'verbose');
} else {
$verbose = false;
}
$this->logger->debug(message: "checkPermissions()");