Skip to content
Snippets Groups Projects
Commit 1b0b9776 authored by Björn Schießle's avatar Björn Schießle Committed by Robin Appelman
Browse files

remove share mount

parent dea52192
No related merge requests found
......@@ -105,9 +105,12 @@ class SharedMount extends Mount implements MoveableMount {
/**
* Remove the mount points
*
* @return mixed
* @return bool
*/
public function removeMount() {
$storage = $this->getStorage();
$result = \OCP\Share::unshareFromSelf($storage->getItemType(), $storage->getMountPoint());
return $result;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment