summaryrefslogtreecommitdiffstats
path: root/files/ajax/scan.php
diff options
context:
space:
mode:
Diffstat (limited to 'files/ajax/scan.php')
-rw-r--r--files/ajax/scan.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/files/ajax/scan.php b/files/ajax/scan.php
index 565275911b4..db09b7d5c64 100644
--- a/files/ajax/scan.php
+++ b/files/ajax/scan.php
@@ -17,6 +17,7 @@ if($force or !OC_FileCache::inCache('')){
if(!$checkOnly){
OC_DB::beginTransaction();
OC_FileCache::scan('',$eventSource);
+ OC_FileCache::clean();
OC_DB::commit();
$eventSource->send('success',true);
}else{