mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-20 14:36:52 +00:00
Revert "fix host mounts for windows"
This reverts commit 3c6cb85c74.
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
4c4080077e
commit
82dd888109
3 changed files with 5 additions and 43 deletions
|
|
@ -512,24 +512,4 @@ class ConfigurationManager
|
|||
$config['timezone'] = '';
|
||||
$this->WriteConfig($config);
|
||||
}
|
||||
|
||||
public function isWindowsPath(string $path) : bool {
|
||||
$windowsPath = '/host_mnt/';
|
||||
if (str_starts_with($path, $windowsPath)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public function GetWindowsVolumeName(string $volumeName) : string {
|
||||
$name = '';
|
||||
if ($volumeName === $this->GetNextcloudDatadirMount()) {
|
||||
$name = 'nextcloud_aio_nextcloud_data';
|
||||
} elseif ($volumeName === $this->GetNextcloudMount()) {
|
||||
$name = 'nextcloud_aio_nextcloud_mount';
|
||||
} elseif ($volumeName === $this->GetBorgBackupHostLocation()) {
|
||||
$name = 'nextcloud_aio_backup';
|
||||
}
|
||||
return $name;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue