Browse Source

fix scanning of archives in some cases

remotes/origin/stable45
Robin Appelman 14 years ago
parent
commit
acd8381094
  1. 4
      lib/filecache/update.php

4
lib/filecache/update.php

@ -152,8 +152,8 @@ class OC_FileCache_Update{
$size=0;
$cached=OC_FileCache_Cached::get($path,$root);
$cachedSize=isset($cached['size'])?$cached['size']:0;
if($mimetype=='httpd/unix-directory'){
if($view->is_dir($path.'/')){
if(OC_FileCache::inCache($path,$root)){
$cachedContent=OC_FileCache_Cached::getFolderContent($path,$root);
foreach($cachedContent as $file){

Loading…
Cancel
Save