diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-09-29 11:10:51 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-10-17 11:17:35 +0200 |
commit | 4b55594f55ce4146ed93c50f71e6204a57d29612 (patch) | |
tree | 6737b2a520fbe43da3f7f73bdd2ee8adfabd0be0 /lib/private/Files/Template/TemplateManager.php | |
parent | ad7d20e017253ad871b7bcd7582ac9ccbcce9843 (diff) | |
download | nextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.tar.gz nextcloud-server-4b55594f55ce4146ed93c50f71e6204a57d29612.zip |
feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Files/Template/TemplateManager.php')
-rw-r--r-- | lib/private/Files/Template/TemplateManager.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Files/Template/TemplateManager.php b/lib/private/Files/Template/TemplateManager.php index bf72e9e23e8..878680caa4e 100644 --- a/lib/private/Files/Template/TemplateManager.php +++ b/lib/private/Files/Template/TemplateManager.php @@ -240,7 +240,8 @@ class TemplateManager implements ITemplateManager { 'mime' => $file->getMimetype(), 'size' => $file->getSize(), 'type' => $file->getType(), - 'hasPreview' => $this->previewManager->isAvailable($file) + 'hasPreview' => $this->previewManager->isAvailable($file), + 'permissions' => $file->getPermissions(), ]; } |