Skip to content

Commit 4fdeae4

Browse files
committed
fix(setupChecks): Having transactional file locking disabled is not supported
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
1 parent ddb840c commit 4fdeae4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/settings/lib/SetupChecks/FileLocking.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function __construct(
4343
}
4444

4545
public function getName(): string {
46-
return $this->l10n->t('File locking');
46+
return $this->l10n->t('Transactional File Locking');
4747
}
4848

4949
public function getCategory(): string {
@@ -60,8 +60,8 @@ protected function hasDBFileLocking(): bool {
6060

6161
public function run(): SetupResult {
6262
if (!$this->hasWorkingFileLocking()) {
63-
return SetupResult::warning(
64-
$this->l10n->t('Transactional file locking is disabled, this might lead to issues with race conditions. Enable "filelocking.enabled" in config.php to avoid these problems.'),
63+
return SetupResult::error(
64+
$this->l10n->t('Transactional File Locking is disabled. This is not a a supported configuraton. It may lead to difficult to isolate problems including file corruption. Please remove the `\'filelocking.enabled\' => false` configuration entry from your `config.php` to avoid these problems.'),
6565
$this->urlGenerator->linkToDocs('admin-transactional-locking')
6666
);
6767
}

0 commit comments

Comments
 (0)