diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-06-15 19:56:15 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-06-15 19:56:15 +0200 |
commit | f06c08a63742de9adea4a146a4480b71ad254f20 (patch) | |
tree | 6607d1fc4d31c33190914fb373c9f6e0a526da63 /lib/files.php | |
parent | a9a424a51982396943e9c3353c0c36f289dd41ba (diff) | |
download | nextcloud-server-f06c08a63742de9adea4a146a4480b71ad254f20.tar.gz nextcloud-server-f06c08a63742de9adea4a146a4480b71ad254f20.zip |
cleanup oc_filecache, splitting it in several parts and using the new hasUpdated
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files.php b/lib/files.php index 705b7a6ca66..3ecf08739b0 100644 --- a/lib/files.php +++ b/lib/files.php @@ -36,7 +36,7 @@ class OC_Files { if(strpos($directory,OC::$CONFIG_DATADIRECTORY)===0){ $directory=substr($directory,strlen(OC::$CONFIG_DATADIRECTORY)); } - $files=OC_FileCache::getFolderContent($directory, '', $mimetype_filter); + $files=OC_FileCache::getFolderContent($directory, false, $mimetype_filter); foreach($files as &$file){ $file['directory']=$directory; $file['type']=($file['mimetype']=='httpd/unix-directory')?'dir':'file'; |