mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-05 21:37:58 +00:00
Camelize property instance_restore_attempt => instanceRestoreAttempt
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
f0b1d91558
commit
6fe84a9fb2
3 changed files with 4 additions and 4 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue