diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-05-06 14:28:01 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-05-06 14:28:01 +0300 |
commit | db1e6b5f3b578e1f3e4b8020507af8d3b36530fb (patch) | |
tree | 536de4da0afa2369df33f09092e9161ef3196f04 | |
parent | b13b19c58b802bee42be5efe40aca77519c365ff (diff) | |
download | nextcloud-server-db1e6b5f3b578e1f3e4b8020507af8d3b36530fb.tar.gz nextcloud-server-db1e6b5f3b578e1f3e4b8020507af8d3b36530fb.zip |
Use $dir instead of $fullpath
-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 285d5d915f4..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 = $view->opendir($fullpath); + $dirContent = $view->opendir($dir); $i = 0; while($entryName = readdir($dirContent)) { if ( $entryName != '.' && $entryName != '..' ) { |