This commit is contained in:
Bjoern Schiessle 2014-05-27 15:07:53 +02:00 коммит произвёл Robin Appelman
Родитель dea5219244
Коммит 1b0b977678
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

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