diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-06-17 02:15:11 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-06-17 02:15:11 +0200 |
commit | 549541215e41cc42d94ae92f72df423fce1e5a1c (patch) | |
tree | ab7ff766babd2c348275378e50124e17282f4b8a /lib/filecache/update.php | |
parent | e8dd86ce0de9ec0d7c1774c62281451445b26c92 (diff) | |
download | nextcloud-server-549541215e41cc42d94ae92f72df423fce1e5a1c.tar.gz nextcloud-server-549541215e41cc42d94ae92f72df423fce1e5a1c.zip |
get the correct metadate from updated folders to put in the cache
Diffstat (limited to 'lib/filecache/update.php')
-rw-r--r-- | lib/filecache/update.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/filecache/update.php b/lib/filecache/update.php index 2e3eb67da08..dd77f491ca0 100644 --- a/lib/filecache/update.php +++ b/lib/filecache/update.php @@ -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; |