1
0
Mirror von https://github.com/nextcloud/server.git synchronisiert 2024-07-25 05:44:55 +02:00

get the correct metadate from updated folders to put in the cache

Dieser Commit ist enthalten in:
Robin Appelman 2012-06-17 02:15:11 +02:00
Ursprung e8dd86ce0d
Commit 549541215e

Datei anzeigen

@ -159,9 +159,9 @@ class OC_FileCache_Update{
foreach($cachedContent as $file){
$size+=$file['size'];
}
$mtime=$view->filemtime($path);
$ctime=$view->filectime($path);
$writable=$view->is_writable($path);
$mtime=$view->filemtime($path.'/');
$ctime=$view->filectime($path.'/');
$writable=$view->is_writable($path.'/');
OC_FileCache::put($path,array('size'=>$size,'mtime'=>$mtime,'ctime'=>$ctime,'mimetype'=>$mimetype,'writable'=>$writable));
}else{
$count=0;