diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2018-01-11 11:45:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-11 11:45:43 +0100 |
commit | 505e60e74b440d3777a48eb88105fe1051eeb048 (patch) | |
tree | 6218aa1704110e1e0021aaefc737a0115028494a | |
parent | 5738662032a51348634a2f60c7c9ce56f47e7bbd (diff) | |
parent | 66342669467eeb10520c1db832257be798425217 (diff) | |
download | nextcloud-server-505e60e74b440d3777a48eb88105fe1051eeb048.tar.gz nextcloud-server-505e60e74b440d3777a48eb88105fe1051eeb048.zip |
Merge pull request #7786 from nextcloud/mount-type-federated-shares-stable12
return correct mount type for federated shares
-rw-r--r-- | apps/files_sharing/lib/External/Mount.php | 10 |
1 files changed, 10 insertions, 0 deletions
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'; + } } |