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.
This commit is contained in:
parent
6f0c814164
commit
97a51c46ed
|
@ -933,7 +933,7 @@ class Trashbin {
|
||||||
//force rescan of versions, local storage may not have updated the cache
|
//force rescan of versions, local storage may not have updated the cache
|
||||||
/** @var \OC\Files\Storage\Storage $storage */
|
/** @var \OC\Files\Storage\Storage $storage */
|
||||||
list($storage, ) = $view->resolvePath('/');
|
list($storage, ) = $view->resolvePath('/');
|
||||||
$storage->getScanner()->scan('');
|
$storage->getScanner()->scan('files_trashbin');
|
||||||
|
|
||||||
if ($timestamp) {
|
if ($timestamp) {
|
||||||
// fetch for old versions
|
// fetch for old versions
|
||||||
|
|
Loading…
Reference in New Issue