diff options
author | Jesús Macias <jmacias@solidgear.es> | 2015-11-12 13:40:28 +0100 |
---|---|---|
committer | Jesús Macias <jmacias@solidgear.es> | 2015-11-12 13:40:28 +0100 |
commit | 394d3eb0cd7448be3c7efc42c4012ecfdf99e654 (patch) | |
tree | 4331b5300aa2759887192913c3aff2f3e46cf351 /apps/files_external/lib/api.php | |
parent | 5dd59b4bd2712706a36639697531e73df5c9a3c2 (diff) | |
download | nextcloud-server-394d3eb0cd7448be3c7efc42c4012ecfdf99e654.tar.gz nextcloud-server-394d3eb0cd7448be3c7efc42c4012ecfdf99e654.zip |
First working approach to show mount status
Diffstat (limited to 'apps/files_external/lib/api.php')
-rw-r--r-- | apps/files_external/lib/api.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/files_external/lib/api.php b/apps/files_external/lib/api.php index af9b802e522..f0c9e568c9e 100644 --- a/apps/files_external/lib/api.php +++ b/apps/files_external/lib/api.php @@ -28,7 +28,7 @@ class Api { /** * Formats the given mount config to a mount entry. - * + * * @param string $mountPoint mount point name, relative to the data dir * @param array $mountConfig mount config to format * @@ -59,7 +59,9 @@ class Api { 'type' => 'dir', 'backend' => $mountConfig['backend'], 'scope' => ( $isSystemMount ? 'system' : 'personal' ), - 'permissions' => $permissions + 'permissions' => $permissions, + 'id' => $mountConfig['id'], + 'class' => $mountConfig['class'] ); return $entry; } |