summaryrefslogtreecommitdiffstats
path: root/lib/filecache.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-05-09 20:35:12 +0200
committerRobin Appelman <icewind@owncloud.com>2012-05-09 20:35:12 +0200
commit03f66c6351471319fa0a06b8a8bbd7bfe82ed5c2 (patch)
treefcc447fd0d72d2f4e2e8e3252078e6fd2541e89e /lib/filecache.php
parent14b240a3f447d9b815183894acbcbe6f90ff4635 (diff)
downloadnextcloud-server-03f66c6351471319fa0a06b8a8bbd7bfe82ed5c2.tar.gz
nextcloud-server-03f66c6351471319fa0a06b8a8bbd7bfe82ed5c2.zip
also scan new folders when checking for updates
it might cause long load times but seems the best for now
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 8763865c8c3..9fa3fbea97d 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -640,7 +640,7 @@ class OC_FileCache{
$cachedMTime=$row['mtime'];
return ($mtime>$cachedMTime);
}else{//file not in cache, so it has to be updated
- return !($isDir);//new folders are handeled sperate
+ return true;
}
}