summaryrefslogtreecommitdiffstats
path: root/lib/filecache.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-06-17 01:26:30 +0200
committerRobin Appelman <icewind@owncloud.com>2012-06-17 01:31:57 +0200
commitb38e46276f247315772c5d46f0c73ea11a139cef (patch)
tree4b9ee0463b8dc6bc3af131b692477c447eee4b89 /lib/filecache.php
parent6f93176a4be21dcda1009d9cea052e5fdb50ae16 (diff)
downloadnextcloud-server-b38e46276f247315772c5d46f0c73ea11a139cef.tar.gz
nextcloud-server-b38e46276f247315772c5d46f0c73ea11a139cef.zip
when checking if the content of a folder has been updated, exlicitly state that we are checking a folder
solves some issues with external storages not updating correctly
Diffstat (limited to 'lib/filecache.php')
-rw-r--r--lib/filecache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filecache.php b/lib/filecache.php
index 32c6929ff60..9963a5a3baf 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -217,7 +217,7 @@ class OC_FileCache{
* - versioned
*/
public static function getFolderContent($path,$root=false,$mimetype_filter=''){
- if(OC_FileCache_Update::hasUpdated($path,$root)){
+ if(OC_FileCache_Update::hasUpdated($path,$root,true)){
OC_FileCache_Update::updateFolder($path,$root);
}
return OC_FileCache_Cached::getFolderContent($path,$root,$mimetype_filter);