mirror of
https://github.com/nextcloud/server.git
synced 2026-06-19 21:49:43 -04:00
return correct mount type for federated shares
fix https://github.com/nextcloud/server/issues/6584 Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
9978cee1e3
commit
286de0c239
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