diff --git a/apps/files_trashbin/lib/trashbin.php b/apps/files_trashbin/lib/trashbin.php
index 3d90791108e9a266c4d47ecfac02b21f9e54e258..52d24143902bec55044c505c7ca11bd72e7e6338 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