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
Branches
No related tags found
No related merge requests found
...@@ -105,9 +105,12 @@ class SharedMount extends Mount implements MoveableMount { ...@@ -105,9 +105,12 @@ class SharedMount extends Mount implements MoveableMount {
/** /**
* Remove the mount points * Remove the mount points
* *
* @return mixed
* @return bool * @return bool
*/ */
public function removeMount() { 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.
Please register or to comment