From 1dfb7575931f4e8ad1fbd9108b8fa4a222dac8cf Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 6 May 2013 09:20:18 -0700 Subject: [PATCH] Merge pull request #3245 from owncloud/use-$view Use the internal ownCloud view --- apps/files_trashbin/index.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php index 8a5875b9ce6..a32b7414ac6 100644 --- a/apps/files_trashbin/index.php +++ b/apps/files_trashbin/index.php @@ -21,8 +21,7 @@ $dir = isset($_GET['dir']) ? stripslashes($_GET['dir']) : ''; $result = array(); if ($dir) { $dirlisting = true; - $fullpath = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath($dir); - $dirContent = opendir($fullpath); + $dirContent = $view->opendir($dir); $i = 0; while($entryName = readdir($dirContent)) { if ( $entryName != '.' && $entryName != '..' ) { -- 2.39.5