Merge pull request #11934 from owncloud/trash-restorefixonlyrescantrashfolder
Only rescan trash folder when checking deleted versions
This commit is contained in:
commit
79a7297880
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue