added option to override verbose for automated checks
This commit is contained in:
parent
72e9731562
commit
e94819ed7f
|
@ -127,10 +127,15 @@ class DomainController
|
||||||
/**
|
/**
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
function checkPermissions(): bool
|
function checkPermissions(bool $disableVerbose = false): bool
|
||||||
{
|
{
|
||||||
$setupIsValid = true;
|
$setupIsValid = true;
|
||||||
|
|
||||||
|
if (!$disableVerbose) {
|
||||||
$verbose = $this->configController->getConfig(configKey: 'verbose');
|
$verbose = $this->configController->getConfig(configKey: 'verbose');
|
||||||
|
} else {
|
||||||
|
$verbose = false;
|
||||||
|
}
|
||||||
|
|
||||||
$this->logger->debug(message: "checkPermissions()");
|
$this->logger->debug(message: "checkPermissions()");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue