Skip to content

Commit 1dfb757

Browse files
committed
Merge pull request #3245 from owncloud/use-$view
Use the internal ownCloud view
1 parent c0047b9 commit 1dfb757

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/files_trashbin/index.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
$result = array();
2222
if ($dir) {
2323
$dirlisting = true;
24-
$fullpath = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath($dir);
25-
$dirContent = opendir($fullpath);
24+
$dirContent = $view->opendir($dir);
2625
$i = 0;
2726
while($entryName = readdir($dirContent)) {
2827
if ( $entryName != '.' && $entryName != '..' ) {

0 commit comments

Comments
 (0)