summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-20 22:19:23 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-20 22:19:23 +0100
commit2d6efae25714b188d4e689617b2e4ae8695b0317 (patch)
treecbcf32886a135c7652919ca80e255eca1c2fa561 /apps
parentb685aa8bcb0abf0d406cc349b37a327319d46e62 (diff)
downloadnextcloud-server-2d6efae25714b188d4e689617b2e4ae8695b0317.tar.gz
nextcloud-server-2d6efae25714b188d4e689617b2e4ae8695b0317.zip
update path to deleted files
Diffstat (limited to 'apps')
-rw-r--r--apps/files_trashbin/index.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/files_trashbin/index.php b/apps/files_trashbin/index.php
index a2d4cc0a44d..8f8d143b4d1 100644
--- a/apps/files_trashbin/index.php
+++ b/apps/files_trashbin/index.php
@@ -9,7 +9,7 @@ OCP\Util::addScript('files', 'fileactions');
$tmpl = new OCP\Template('files_trashbin', 'index', 'user');
$user = \OCP\User::getUser();
-$view = new OC_Filesystemview('/'.$user.'/files_trashbin');
+$view = new OC_Filesystemview('/'.$user.'/files_trashbin/files');
OCP\Util::addStyle('files', 'files');
OCP\Util::addScript('files', 'filelist');
@@ -17,8 +17,7 @@ OCP\Util::addScript('files', 'filelist');
$dir = isset($_GET['dir']) ? stripslashes($_GET['dir']) : '';
if ($dir) {
- $dirlisting = true;
- $view = new \OC_FilesystemView('/'.\OCP\User::getUser().'/files_trashbin');
+ $dirlisting = true;
$fullpath = \OCP\Config::getSystemValue('datadirectory').$view->getAbsolutePath($dir);
$dirContent = opendir($fullpath);
$i = 0;