fix scanning of archives in some cases

This commit is contained in:
Robin Appelman 2012-08-09 16:36:16 +02:00
parent 39814edf81
commit acd8381094
1 changed files with 2 additions and 2 deletions

View File

@ -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){