diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 08:42:49 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-08-29 20:29:43 +0200 |
commit | 0e58800016419daf3b2d032136415a5fe9d6331f (patch) | |
tree | c842a8c9104b3c9f2ceab2d505fe01a25f7d0dda /apps/files/ajax/scan.php | |
parent | 52f2e7112ea985203eca16aa787bd75a7cf92194 (diff) | |
download | nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.tar.gz nextcloud-server-0e58800016419daf3b2d032136415a5fe9d6331f.zip |
Whitespace fixes in apps
Diffstat (limited to 'apps/files/ajax/scan.php')
-rw-r--r-- | apps/files/ajax/scan.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/files/ajax/scan.php b/apps/files/ajax/scan.php index 23d7da44f8d..d2ec1ab5161 100644 --- a/apps/files/ajax/scan.php +++ b/apps/files/ajax/scan.php @@ -16,13 +16,12 @@ session_write_close(); if($force or !OC_FileCache::inCache('')) { if(!$checkOnly) { OCP\DB::beginTransaction(); - + if(OC_Cache::isFast()) { - //make sure the old fileid's don't mess things up - OC_Cache::clear('fileid/'); + OC_Cache::clear('fileid/'); //make sure the old fileid's don't mess things up } - - OC_FileCache::scan($dir, $eventSource); + + OC_FileCache::scan($dir,$eventSource); OC_FileCache::clean(); OCP\DB::commit(); $eventSource->send('success', true); |