diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-11-04 14:16:58 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-11-04 14:16:58 +0100 |
commit | 79a7297880a7979eaf22a6f64cbc6b2cb05bc564 (patch) | |
tree | 7685edebd40e5e1c28faae858c2184783c0a28d6 /apps | |
parent | b26f11c16f96b6a33b8c7b35106426021b310e44 (diff) | |
parent | 97a51c46eddf4c1e8c691eea96dd762425ce17ca (diff) | |
download | nextcloud-server-79a7297880a7979eaf22a6f64cbc6b2cb05bc564.tar.gz nextcloud-server-79a7297880a7979eaf22a6f64cbc6b2cb05bc564.zip |
Merge pull request #11934 from owncloud/trash-restorefixonlyrescantrashfolder
Only rescan trash folder when checking deleted versions
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/lib/trashbin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php index 3d90791108e..52d24143902 100644 --- a/apps/files_trashbin/lib/trashbin.php +++ b/apps/files_trashbin/lib/trashbin.php @@ -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 |