Merge pull request #7786 from nextcloud/mount-type-federated-shares-stable12

return correct mount type for federated shares
This commit is contained in:
Roeland Jago Douma 2018-01-11 11:45:43 +01:00 committed by GitHub
commit 505e60e74b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions

View File

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