diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-11-09 18:41:57 +0100 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-11-09 18:41:57 +0100 |
commit | 5a6aba1e1114707942c613c2402eed3237b43a21 (patch) | |
tree | 5cda68cc0256db5a3b3002fa694026d7d1475128 /lib/util.php | |
parent | 5cc6635eb81a8d76c04ee040a791f51ebbe389ef (diff) | |
download | nextcloud-server-5a6aba1e1114707942c613c2402eed3237b43a21.tar.gz nextcloud-server-5a6aba1e1114707942c613c2402eed3237b43a21.zip |
provide caching for file metadata
Diffstat (limited to 'lib/util.php')
-rw-r--r-- | lib/util.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php index e010a572e3a..b20e8e69e73 100644 --- a/lib/util.php +++ b/lib/util.php @@ -49,6 +49,11 @@ class OC_Util { $quotaProxy=new OC_FileProxy_Quota(); OC_FileProxy::register($quotaProxy); self::$fsSetup=true; + + //create the file cache if necesary + if(!OC_FileCache::inCache('')){ + OC_FileCache::scan(''); + } } } |