return correct mount type for federated shares

fix https://github.com/nextcloud/server/issues/6584

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
pull/7785/head
Bjoern Schiessle 2018-01-11 10:16:07 +07:00
parent 9978cee1e3
commit 286de0c239
No known key found for this signature in database
GPG Key ID: 2378A753E2BF04F6
1 changed files with 10 additions and 0 deletions

@ -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';
}
}