diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-05-06 09:20:18 -0700 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-05-06 09:20:18 -0700 |
commit | 2208313e02f0c1d5ae728115f81e040eaedaa0dc (patch) | |
tree | 536de4da0afa2369df33f09092e9161ef3196f04 | |
parent | d659d8e1931eb36de88b21647234ef3748ef7e5a (diff) | |
parent | db1e6b5f3b578e1f3e4b8020507af8d3b36530fb (diff) | |
download | nextcloud-server-2208313e02f0c1d5ae728115f81e040eaedaa0dc.tar.gz nextcloud-server-2208313e02f0c1d5ae728115f81e040eaedaa0dc.zip |
Merge pull request #3245 from owncloud/use-$view
Use the internal ownCloud view
-rw-r--r-- | apps/files_trashbin/index.php | 3 |
1 files changed, 1 insertions, 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 != '..' ) { |