summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-28 17:06:26 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-13 12:58:51 +0200
commit3c1365c0d12a626e8c2b8e1ab35b105f4b88ad2e (patch)
tree23935b8b8c0df29875cdd1c6d2133bf399a2b724 /lib/public
parent4bcb7d88b5cbb8d2c83176062dc76c6213a13c48 (diff)
downloadnextcloud-server-3c1365c0d12a626e8c2b8e1ab35b105f4b88ad2e.tar.gz
nextcloud-server-3c1365c0d12a626e8c2b8e1ab35b105f4b88ad2e.zip
Fix returned paths for remote shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Share/IManager.php2
-rw-r--r--lib/public/Share/IShareHelper.php2
-rw-r--r--lib/public/Share/IShareProvider.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/Share/IManager.php b/lib/public/Share/IManager.php
index 1cbb27cb618..5f02e1d9804 100644
--- a/lib/public/Share/IManager.php
+++ b/lib/public/Share/IManager.php
@@ -208,7 +208,7 @@ interface IManager {
* Then the access list will to '/folder1/folder2/fileA' is:
* [
* users => ['user1' => ['node_id' => 42, 'node_path' => '/path'], 'user2' => [...]],
- * remote => ['user1' => ['node_id' => 42, 'node_path' => '/path'], 'user2' => [...]],
+ * remote => ['user1' => ['node_id' => 42, 'token' => 'ShareToken'], 'user2' => [...]],
* public => bool
* mail => bool
* ]
diff --git a/lib/public/Share/IShareHelper.php b/lib/public/Share/IShareHelper.php
index 01202cf477b..4ec62830c52 100644
--- a/lib/public/Share/IShareHelper.php
+++ b/lib/public/Share/IShareHelper.php
@@ -34,7 +34,7 @@ interface IShareHelper {
/**
* @param Node $node
- * @return array [ users => [Mapping $uid => $path], remotes => [Mapping $cloudId => $path]]
+ * @return array [ users => [Mapping $uid => $pathForUser], remotes => [Mapping $cloudId => $pathToMountRoot]]
* @since 12
*/
public function getPathsForAccessList(Node $node);
diff --git a/lib/public/Share/IShareProvider.php b/lib/public/Share/IShareProvider.php
index fba432f31e7..bac1a5d87f0 100644
--- a/lib/public/Share/IShareProvider.php
+++ b/lib/public/Share/IShareProvider.php
@@ -197,7 +197,7 @@ interface IShareProvider {
*
* [
* users => ['user1' => ['node_id' => 42, 'node_path' => '/path'], 'user2' => [...]],
- * remote => ['user1' => ['node_id' => 42, 'node_path' => '/path'], 'user2' => [...]],
+ * remote => ['user1' => ['node_id' => 42, 'token' => 'ShareToken'], 'user2' => [...]],
* mail => bool
* public => bool
* ]