[Pkg-owncloud-commits] [owncloud] 26/223: add some comments

David Prévot taffit at moszumanska.debian.org
Sun Jun 22 01:54:01 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 054083b9cd13244842f8664601d8566593f9737d
Author: Robin Appelman <icewind at owncloud.com>
Date:   Tue Jun 10 15:37:43 2014 +0200

    add some comments
---
 lib/private/files/cache/scanner.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/private/files/cache/scanner.php b/lib/private/files/cache/scanner.php
index 1f67ce0..3f681e5 100644
--- a/lib/private/files/cache/scanner.php
+++ b/lib/private/files/cache/scanner.php
@@ -105,6 +105,8 @@ class Scanner extends BasicEmitter {
 					$parent = '';
 				}
 				$parentId = $this->cache->getId($parent);
+
+				// scan the parent if it's not in the cache (id -1) and the current file is not the root folder
 				if ($file and $parentId === -1) {
 					$parentData = $this->scanFile($parent);
 					$parentId = $parentData['fileid'];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list