summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_trashbin/lib/helper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/helper.php b/apps/files_trashbin/lib/helper.php
index c98d57586d3..ebedce31abe 100644
--- a/apps/files_trashbin/lib/helper.php
+++ b/apps/files_trashbin/lib/helper.php
@@ -20,7 +20,7 @@ class Helper
$timestamp = null;
$user = \OCP\User::getUser();
- $view = new \OC_Filesystemview('/' . $user . '/files_trashbin/files');
+ $view = new \OC\Files\View('/' . $user . '/files_trashbin/files');
if (ltrim($dir, '/') !== '' && !$view->is_dir($dir)) {
throw new \Exception('Directory does not exists');