aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/lib
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-05-15 15:21:27 +0200
committerVincent Petry <pvince81@owncloud.com>2014-05-15 15:21:27 +0200
commit818c77684dafae2ad0622d2aa54b1c0a55db8579 (patch)
treeaf696e6d4aed1edb800af6830a38d7c35e64b23d /apps/files_trashbin/lib
parent60efa0f1c81acaa019b45cb432d5265e230b4e94 (diff)
downloadnextcloud-server-818c77684dafae2ad0622d2aa54b1c0a55db8579.tar.gz
nextcloud-server-818c77684dafae2ad0622d2aa54b1c0a55db8579.zip
Fixed trashbin to use correct class
It seems that \OC_Filesystemview has been removed. Now using the correct class \OC\Files\View()
Diffstat (limited to 'apps/files_trashbin/lib')
-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');