From 286de0c239cd740b47db27b2263942e567ce80ae Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Thu, 11 Jan 2018 10:16:07 +0100 Subject: 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(+) (limited to 'apps') diff --git a/apps/files_sharing/lib/External/Mount.php b/apps/files_sharing/lib/External/Mount.php index d756a1830b2..e12f8823cd8 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'; + } } -- cgit v1.2.3