[Pkg-owncloud-commits] [owncloud] 58/85: add some comments
David Prévot
taffit at moszumanska.debian.org
Tue Jun 17 19:12:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch 6.0
in repository owncloud.
commit e793a87954e19424f1f1a9d6c3b472c5029a587e
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 f1c4313..afbf69f 100644
--- a/lib/private/files/cache/scanner.php
+++ b/lib/private/files/cache/scanner.php
@@ -110,6 +110,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