diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-12-04 12:09:33 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-12-05 09:54:58 +0100 |
commit | e29a76bc79dc252b5659e38287f07c56ffa3e314 (patch) | |
tree | 72f3bae6017417f635d08f2541640150e17c226a /lib/private/DirectEditing/Token.php | |
parent | 6f540fc09d181ffffb3f698260fdda39a8c58843 (diff) | |
download | nextcloud-server-e29a76bc79dc252b5659e38287f07c56ffa3e314.tar.gz nextcloud-server-e29a76bc79dc252b5659e38287f07c56ffa3e314.zip |
Use file path for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/DirectEditing/Token.php')
-rw-r--r-- | lib/private/DirectEditing/Token.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DirectEditing/Token.php b/lib/private/DirectEditing/Token.php index 148621a2cf3..eac472430cb 100644 --- a/lib/private/DirectEditing/Token.php +++ b/lib/private/DirectEditing/Token.php @@ -50,7 +50,7 @@ class Token implements IToken { if ($this->data['share_id'] !== null) { return $this->manager->getShareForToken($this->data['share_id']); } - return $this->manager->getFileForToken($this->data['user_id'], $this->data['file_id']); + return $this->manager->getFileForToken($this->data['user_id'], $this->data['file_id'], $this->data['file_path']); } public function getToken(): string { |