Skip to content
Snippets Groups Projects
Commit 5db3b049 authored by Björn Schießle's avatar Björn Schießle
Browse files

add todo

parent bc0292c1
No related branches found
No related tags found
No related merge requests found
......@@ -1170,7 +1170,7 @@ class Share extends \OC\Share\Constants {
if ($backend instanceof \OCP\Share_Backend_File_Dependent) {
if ($row['item_type'] == 'file' || $row['item_type'] == 'folder') {
$childItem['file_source'] = $child['source'];
} else {
} else { // TODO is this really needed if we already know that we use the file backend?
$meta = \OC\Files\Filesystem::getFileInfo($child['file_path']);
$childItem['file_source'] = $meta['fileid'];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment