mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-04 04:56:52 +00:00
Remove residue code
Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
This commit is contained in:
parent
d88871f52e
commit
d2c07bbbf7
1 changed files with 0 additions and 9 deletions
|
|
@ -419,8 +419,6 @@ class ConfigurationManager
|
|||
}
|
||||
}
|
||||
|
||||
$config = $this->GetConfig();
|
||||
$this->WriteConfig($config);
|
||||
$this->setMultiple(function ($confManager) use ($domain) {
|
||||
// Write domain
|
||||
// Don't set the domain via the attribute, or we create a loop.
|
||||
|
|
@ -443,9 +441,6 @@ class ConfigurationManager
|
|||
*/
|
||||
public function SetBorgLocationVars(string $location, string $repo) : void {
|
||||
$this->ValidateBorgLocationVars($location, $repo);
|
||||
|
||||
$config = $this->GetConfig();
|
||||
$this->WriteConfig($config);
|
||||
$this->setMultiple(function ($confManager) use ($location, $repo) {
|
||||
$confManager->borg_backup_host_location = $location;
|
||||
$confManager->borg_remote_repo = $repo;
|
||||
|
|
@ -495,8 +490,6 @@ class ConfigurationManager
|
|||
|
||||
public function DeleteBorgBackupLocationItems() : void {
|
||||
// Delete the variables
|
||||
$config = $this->GetConfig();
|
||||
$this->WriteConfig($config);
|
||||
$this->setMultiple(function ($confManager) {
|
||||
$confManager->borg_backup_host_location = '';
|
||||
$confManager->borg_remote_repo = '';
|
||||
|
|
@ -520,8 +513,6 @@ class ConfigurationManager
|
|||
throw new InvalidSettingConfigurationException("Please enter the password!");
|
||||
}
|
||||
|
||||
$config = $this->GetConfig();
|
||||
$this->WriteConfig($config);
|
||||
$this->setMultiple(function ($confManager) use ($location, $repo, $password) {
|
||||
$confManager->borg_backup_host_location = $location;
|
||||
$confManager->borg_remote_repo = $repo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue