From 66342669467eeb10520c1db832257be798425217 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Thu, 11 Jan 2018 10:16:07 +0100 Subject: [PATCH] return correct mount type for federated shares fix https://github.com/nextcloud/server/issues/6584 Signed-off-by: Bjoern Schiessle --- apps/files_sharing/lib/External/Mount.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/files_sharing/lib/External/Mount.php b/apps/files_sharing/lib/External/Mount.php index d756a1830b..e12f8823cd 100644 --- a/apps/files_sharing/lib/External/Mount.php +++ b/apps/files_sharing/lib/External/Mount.php @@ -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'; + } }