]> source.dussan.org Git - nextcloud-server.git/commitdiff
also scan new folders when checking for updates
authorRobin Appelman <icewind@owncloud.com>
Wed, 9 May 2012 18:35:12 +0000 (20:35 +0200)
committerRobin Appelman <icewind@owncloud.com>
Wed, 9 May 2012 18:35:12 +0000 (20:35 +0200)
it might cause long load times but seems the best for now

lib/filecache.php

index 8763865c8c3e850150507e494580aeaa1d51cb51..9fa3fbea97da52785ec970186bea8e524de0c376 100644 (file)
@@ -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;
                }
        }