From 5db3b049fd459e3a8e6e36a3a9e12f53e97c4b0b Mon Sep 17 00:00:00 2001
From: Bjoern Schiessle <schiessle@owncloud.com>
Date: Thu, 6 Mar 2014 15:30:01 +0100
Subject: [PATCH] add todo

---
 lib/private/share/share.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/share/share.php b/lib/private/share/share.php
index b69f620646..3471514c48 100644
--- a/lib/private/share/share.php
+++ b/lib/private/share/share.php
@@ -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'];
 									}
-- 
GitLab