Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-05-08 11:15:23 +0300
committerJulius Härtl <jus@bitgrid.net>2019-05-08 18:41:19 +0300
commit94cfe0dca3d0adc41eba453e944d5fda6b312277 (patch)
tree14ac97d11f65d4f8295fe397bfa1fec4769868f5 /lib
parent2a703d1c4e537fd5c85488c2dc132fc29af72c53 (diff)
Add proper fallback value for hideDownload
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/TokenManager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/TokenManager.php b/lib/TokenManager.php
index a332aced..03a9efed 100644
--- a/lib/TokenManager.php
+++ b/lib/TokenManager.php
@@ -88,6 +88,7 @@ class TokenManager {
public function getToken($fileId, $shareToken = null, $editoruid = null) {
list($fileId,, $version) = Helper::parseFileId($fileId);
$owneruid = null;
+ $hideDownload = false;
// if the user is not logged-in do use the sharers storage
if($shareToken !== null) {
/** @var File $file */