summaryrefslogtreecommitdiffstats
path: root/lib/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-08-06 15:59:06 +0200
committerRobin Appelman <icewind@owncloud.com>2013-08-06 15:59:06 +0200
commit3e7a86c6ecd332c268e690399a015ab618e87754 (patch)
tree40487f94e73e07489fc2d05579eb1fa458e348c9 /lib/files
parent057d7aa108f9b24c12b97f5f78008eb17a6d3bee (diff)
downloadnextcloud-server-3e7a86c6ecd332c268e690399a015ab618e87754.tar.gz
nextcloud-server-3e7a86c6ecd332c268e690399a015ab618e87754.zip
remove deleted files while scanning
Diffstat (limited to 'lib/files')
-rw-r--r--lib/files/cache/scanner.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php
index adecc2bb901..3349245616d 100644
--- a/lib/files/cache/scanner.php
+++ b/lib/files/cache/scanner.php
@@ -112,6 +112,8 @@ class Scanner extends BasicEmitter {
if (!empty($newData)) {
$this->cache->put($file, $newData);
}
+ } else {
+ $this->cache->remove($file);
}
return $data;
}