Skip to content

Commit

Permalink
Merge pull request #7786 from nextcloud/mount-type-federated-shares-s…
Browse files Browse the repository at this point in the history
…table12

return correct mount type for federated shares
  • Loading branch information
rullzer authored Jan 11, 2018
2 parents 5738662 + 6634266 commit 505e60e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/files_sharing/lib/External/Mount.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,14 @@ public function moveMount($target) {
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';
}
}

0 comments on commit 505e60e

Please sign in to comment.