Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
set the mount id before calling storage wrapper
this allows the storage wrapper to use the mount id for it's own logic

Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 committed Aug 31, 2020
commit 81c5aa9819cf281f9b61e5580daa6ac7f579306e
2 changes: 1 addition & 1 deletion lib/private/Files/Mount/MountPoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public function __construct($storage, $mountpoint, $arguments = null, $loader =

$mountpoint = $this->formatPath($mountpoint);
$this->mountPoint = $mountpoint;
$this->mountId = $mountId;
if ($storage instanceof Storage) {
$this->class = get_class($storage);
$this->storage = $this->loader->wrap($this, $storage);
Expand All @@ -113,7 +114,6 @@ public function __construct($storage, $mountpoint, $arguments = null, $loader =
$this->class = $storage;
$this->arguments = $arguments;
}
$this->mountId = $mountId;
}

/**
Expand Down