diff options
Diffstat (limited to 'lib/filecache/update.php')
-rw-r--r-- | lib/filecache/update.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/filecache/update.php b/lib/filecache/update.php index 93b632acb4e..0b5ff8e2446 100644 --- a/lib/filecache/update.php +++ b/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){ |