[Pkg-owncloud-commits] [owncloud] 140/172: Fixed trashbin to use correct class

David Prévot taffit at moszumanska.debian.org
Sun May 18 20:09:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 818c77684dafae2ad0622d2aa54b1c0a55db8579
Author: Vincent Petry <pvince81 at owncloud.com>
Date:   Thu May 15 15:21:27 2014 +0200

    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 c98d575..ebedce3 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');

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list