Skip to content

Commit e019eae

Browse files
joshtrichardsicewind1991
authored andcommitted
fix(setupChecks): Having transactional file locking disabled is not supported
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
1 parent 21678df commit e019eae

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
@@ -26,7 +26,7 @@ public function __construct(
2626
}
2727

2828
public function getName(): string {
29-
return $this->l10n->t('File locking');
29+
return $this->l10n->t('Transactional File Locking');
3030
}
3131

3232
public function getCategory(): string {
@@ -43,8 +43,8 @@ protected function hasDBFileLocking(): bool {
4343

4444
public function run(): SetupResult {
4545
if (!$this->hasWorkingFileLocking()) {
46-
return SetupResult::warning(
47-
$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.'),
46+
return SetupResult::error(
47+
$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.'),
4848
$this->urlGenerator->linkToDocs('admin-transactional-locking')
4949
);
5050
}

0 commit comments

Comments
 (0)