summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-05-06 13:43:23 +0300
committerLukas Reschke <lukas@statuscode.ch>2013-05-06 13:43:23 +0300
commitb13b19c58b802bee42be5efe40aca77519c365ff (patch)
treed3ef2d92fddb308b2a63a593e1c6df39a5654b47
parentd659d8e1931eb36de88b21647234ef3748ef7e5a (diff)
downloadnextcloud-server-b13b19c58b802bee42be5efe40aca77519c365ff.tar.gz
nextcloud-server-b13b19c58b802bee42be5efe40aca77519c365ff.zip
Use the internal ownCloud view
-rw-r--r--apps/files_trashbin/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php
index 8a5875b9ce6..285d5d915f4 100644
--- a/apps/files_trashbin/index.php
+++ b/apps/files_trashbin/index.php
@@ -22,7 +22,7 @@ $result = array();
if ($dir) {
$dirlisting = true;
$fullpath = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath($dir);
- $dirContent = opendir($fullpath);
+ $dirContent = $view->opendir($fullpath);
$i = 0;
while($entryName = readdir($dirContent)) {
if ( $entryName != '.' && $entryName != '..' ) {