Fix updateFolder() in OC_FileCache

remotes/origin/stable4
Michael Gapczynski 13 years ago
parent 41179a1456
commit aa0c3ddcfe
  1. 2
      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 != '..'){

Loading…
Cancel
Save