summaryrefslogtreecommitdiffstats
path: root/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-03-30 19:44:38 +0200
committerRobin Appelman <icewind@owncloud.com>2012-03-30 19:44:49 +0200
commit65eee1f69dbbbe86bb4bf0716a464dc9f2c66a67 (patch)
tree65c97f31bb6285074bf408f0f3990d67e3221f95 /files
parent284955573c59e91ed4cab7771487d1cebbb44262 (diff)
downloadnextcloud-server-65eee1f69dbbbe86bb4bf0716a464dc9f2c66a67.tar.gz
nextcloud-server-65eee1f69dbbbe86bb4bf0716a464dc9f2c66a67.zip
clean pre-path_hash fscache entries
Diffstat (limited to 'files')
-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{