remove share mount

remotes/origin/ldap_group_count
Bjoern Schiessle 11 years ago committed by Robin Appelman
parent dea5219244
commit 1b0b977678
  1. 5
      apps/files_sharing/lib/sharedmount.php

@ -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;
}
}

Loading…
Cancel
Save