Camelize property instance_restore_attempt => instanceRestoreAttempt

Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
Pablo Zmdl 2026-01-23 17:16:02 +01:00
parent f0b1d91558
commit 6fe84a9fb2
3 changed files with 4 additions and 4 deletions

View file

@ -51,7 +51,7 @@ class ConfigurationManager
set { $this->set('backup-mode', $value); }
}
public bool $instance_restore_attempt {
public bool $instanceRestoreAttempt {
// Type-cast because old configs could have 1/'' for this key.
get => (bool) $this->get('instance_restore_attempt', false);
set { $this->set('instance_restore_attempt', $value); }
@ -536,7 +536,7 @@ class ConfigurationManager
$this->borg_backup_host_location = $location;
$this->borg_remote_repo = $repo;
$this->borg_restore_password = $password;
$this->instance_restore_attempt = true;
$this->instanceRestoreAttempt = true;
$this->commitTransaction();
}