diff options
Diffstat (limited to 'lib/private/files/mount/manager.php')
-rw-r--r-- | lib/private/files/mount/manager.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/files/mount/manager.php b/lib/private/files/mount/manager.php index db1f4600c74..45a9f339fba 100644 --- a/lib/private/files/mount/manager.php +++ b/lib/private/files/mount/manager.php @@ -31,6 +31,15 @@ class Manager { } /** + * @param string $mountPoint + * @param string $target + */ + public function moveMount($mountPoint, $target){ + $this->mounts[$target] = $this->mounts[$mountPoint]; + unset($this->mounts[$mountPoint]); + } + + /** * Find the mount for $path * * @param string $path |