Merge pull request #7786 from nextcloud/mount-type-federated-shares-stable12
return correct mount type for federated shares
This commit is contained in:
commit
505e60e74b
|
@ -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';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue