diff options
author | Robin Appelman <icewind@owncloud.com> | 2015-03-05 17:10:52 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2015-03-11 15:06:12 +0100 |
commit | 4f0f175f8b1e8719e4b5858322be3d2e30280add (patch) | |
tree | 627d75daea2b70406a33b5131e63617871ca74ec /lib/private/files/mount | |
parent | 82a62fd24905c3072e19257171838bcf9c6d48ab (diff) | |
download | nextcloud-server-4f0f175f8b1e8719e4b5858322be3d2e30280add.tar.gz nextcloud-server-4f0f175f8b1e8719e4b5858322be3d2e30280add.zip |
Allow getting all mount options as array
Diffstat (limited to 'lib/private/files/mount')
-rw-r--r-- | lib/private/files/mount/mountpoint.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/files/mount/mountpoint.php b/lib/private/files/mount/mountpoint.php index 0442a369039..02bd8eaa70b 100644 --- a/lib/private/files/mount/mountpoint.php +++ b/lib/private/files/mount/mountpoint.php @@ -209,4 +209,13 @@ class MountPoint implements IMountPoint { public function getOption($name, $default) { return isset($this->mountOptions[$name]) ? $this->mountOptions[$name] : $default; } + + /** + * Get all options for the mount + * + * @return array + */ + public function getOptions() { + return $this->mountOptions; + } } |