mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Fix merge
This commit is contained in:
parent
6871a150bd
commit
5df6f9d14d
1 changed files with 4 additions and 4 deletions
|
|
@ -684,13 +684,13 @@ class Share {
|
|||
} else {
|
||||
if ($fileDependent) {
|
||||
if (($itemType == 'file' || $itemType == 'folder')
|
||||
&& $format == \OC_Share_Backend_File::FORMAT_FILE_APP
|
||||
&& $format == \OC_Share_Backend_File::FORMAT_GET_FOLDER_CONTENTS
|
||||
|| $format == \OC_Share_Backend_File::FORMAT_FILE_APP_ROOT
|
||||
) {
|
||||
$select = '`*PREFIX*share`.`id`, `item_type`, `*PREFIX*share`.`parent`, `uid_owner`, '
|
||||
.'`share_type`, `share_with`, `file_source`, `path`, `file_target`, `permissions`, '
|
||||
.'`expiration`, `name`, `ctime`, `mtime`, `mimetype`, `size`, `encrypted`, '
|
||||
.'`versioned`, `writable`';
|
||||
.'`share_type`, `share_with`, `file_source`, `path`, `file_target`, '
|
||||
.'`permissions`, `expiration`, `storage`, `*PREFIX*filecache`.`parent` as `file_parent`, '
|
||||
.'`name` `mtime`, `mimetype`, `mimepart`, `size`, `encrypted`, `etag`';
|
||||
} else {
|
||||
$select = '`*PREFIX*share`.`id`, `item_type`, `item_source`, `item_target`, `*PREFIX*share`.`parent`, `share_type`, `share_with`, `uid_owner`, `file_source`, `path`, `file_target`, `permissions`, `stime`, `expiration`, `token`';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue