From 818c77684dafae2ad0622d2aa54b1c0a55db8579 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 15 May 2014 15:21:27 +0200 Subject: [PATCH] Fixed trashbin to use correct class It seems that \OC_Filesystemview has been removed. Now using the correct class \OC\Files\View() --- apps/files_trashbin/lib/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files_trashbin/lib/helper.php b/apps/files_trashbin/lib/helper.php index c98d57586d..ebedce31ab 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');