Skip to content
Closed
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
add misising remove method
Add missing method when the root instance (in private/Files/Node/Root.php) call unMount.

Signed-off-by: David <[email protected]>
  • Loading branch information
yeyulantu authored Aug 18, 2022
commit b877edafe2cccea60d31b0b35f9bc3636f47c966
8 changes: 8 additions & 0 deletions lib/private/Files/Mount/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ public function removeMount(string $mountPoint) {
$this->pathCache->clear();
$this->inPathCache->clear();
}

/**
* @param IMountPoint $mount
*/
public function remove(IMountPoint $mount)
{
$this->removeMount($mount->getMountPoint());
}

/**
* @param string $mountPoint
Expand Down