Skip to content

Commit c074d45

Browse files
committed
fix: make const name consistent with config lexicon
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent d19293e commit c074d45

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/private/Repair/RemoveBrokenProperties.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
use Override;
1818

1919
class RemoveBrokenProperties implements IRepairStep {
20-
public const GUARD_CONFIG_KEY = 'dav_repair_removed_broken_properties';
20+
public const DAV_REPAIR_REMOVED_BROKEN_PROPERTIES = 'dav_repair_removed_broken_properties';
2121

2222
public function __construct(
2323
private readonly IDBConnection $db,
@@ -32,7 +32,7 @@ public function getName(): string {
3232

3333
#[Override]
3434
public function run(IOutput $output): void {
35-
if ($this->appConfig->getValueBool('core', self::GUARD_CONFIG_KEY, lazy: true)) {
35+
if ($this->appConfig->getValueBool('core', self::DAV_REPAIR_REMOVED_BROKEN_PROPERTIES, lazy: true)) {
3636
return;
3737
}
3838

@@ -65,7 +65,7 @@ public function run(IOutput $output): void {
6565
}
6666
$total = count($brokenIds);
6767

68-
$this->appConfig->setValueBool('core', self::GUARD_CONFIG_KEY, true, lazy: true);
68+
$this->appConfig->setValueBool('core', self::DAV_REPAIR_REMOVED_BROKEN_PROPERTIES, true, lazy: true);
6969
$output->info("$total broken object properties removed");
7070
}
7171
}

0 commit comments

Comments
 (0)