summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-11-04 14:16:58 +0100
committerVincent Petry <pvince81@owncloud.com>2014-11-04 14:16:58 +0100
commit79a7297880a7979eaf22a6f64cbc6b2cb05bc564 (patch)
tree7685edebd40e5e1c28faae858c2184783c0a28d6 /apps
parentb26f11c16f96b6a33b8c7b35106426021b310e44 (diff)
parent97a51c46eddf4c1e8c691eea96dd762425ce17ca (diff)
downloadnextcloud-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.php2
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