Skip to content
Snippets Groups Projects
Commit 97a51c46 authored by Vincent Petry's avatar Vincent Petry
Browse files

Only rescan trash folder when checking deleted versions

This fix prevents the file scanner to rescan the WHOLE storage and reset
the etags by mistake.
parent 6f0c8141
No related branches found
No related tags found
No related merge requests found
......@@ -933,7 +933,7 @@ class Trashbin {
//force rescan of versions, local storage may not have updated the cache
/** @var \OC\Files\Storage\Storage $storage */
list($storage, ) = $view->resolvePath('/');
$storage->getScanner()->scan('');
$storage->getScanner()->scan('files_trashbin');
if ($timestamp) {
// fetch for old versions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment