mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Merge pull request #7785 from nextcloud/mount-type-federated-shares
return correct mount type for federated shares
This commit is contained in:
commit
d56c566ff5
1 changed files with 10 additions and 0 deletions
10
apps/files_sharing/lib/External/Mount.php
vendored
10
apps/files_sharing/lib/External/Mount.php
vendored
|
|
@ -68,4 +68,14 @@ class Mount extends MountPoint implements MoveableMount {
|
|||
public function removeMount() {
|
||||
return $this->manager->removeShare($this->mountPoint);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the type of mount point, used to distinguish things like shares and external storages
|
||||
* in the web interface
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getMountType() {
|
||||
return 'shared';
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue