summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Gapczynski <GapczynskiM@gmail.com>2012-05-06 20:11:10 -0400
committerMichael Gapczynski <GapczynskiM@gmail.com>2012-05-06 20:11:10 -0400
commitaa0c3ddcfe2e0600d88dd40a89b42a908c9fbf83 (patch)
tree25f49eb6505d7d85b2f4743b44980a94e3f18a12
parent41179a1456f749ab4cdbe84aac91e45a65bb11ba (diff)
downloadnextcloud-server-aa0c3ddcfe2e0600d88dd40a89b42a908c9fbf83.tar.gz
nextcloud-server-aa0c3ddcfe2e0600d88dd40a89b42a908c9fbf83.zip
Fix updateFolder() in OC_FileCache
-rw-r--r--lib/filecache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 091a7939e1a..8763865c8c3 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -655,7 +655,7 @@ class OC_FileCache{
}else{
$view=new OC_FilesystemView(($root=='/')?'':$root);
}
- $dh=$view->opendir($path);
+ $dh=$view->opendir($path.'/');
if($dh){//check for changed/new files
while (($filename = readdir($dh)) !== false) {
if($filename != '.' and $filename != '..'){