summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-05-11 19:41:36 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-05-11 19:41:36 +0200
commitceaac03bb5512f925e43bdf8574977ea8e056e62 (patch)
tree109cec3643fe8d4aa8cb7c6ef7254ac8db6f88a2 /apps/files/appinfo
parentbc1d70f08c4042c457dc3e1bf25c5a34412ac2fb (diff)
downloadnextcloud-server-ceaac03bb5512f925e43bdf8574977ea8e056e62.tar.gz
nextcloud-server-ceaac03bb5512f925e43bdf8574977ea8e056e62.zip
Make permalinks work for trashed files (#24537)
Opening a permalink that points to a trashed file will now display the file within the "Deleted Files" section in the files web UI.
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/application.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/appinfo/application.php b/apps/files/appinfo/application.php
index 3dd73037871..b2faa43cc3c 100644
--- a/apps/files/appinfo/application.php
+++ b/apps/files/appinfo/application.php
@@ -59,7 +59,8 @@ class Application extends App {
$server->getConfig(),
$server->getEventDispatcher(),
$server->getUserSession(),
- $server->getUserFolder()
+ $server->getAppManager(),
+ $server->getRootFolder()
);
});