summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax/preview.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/ajax/preview.php')
-rw-r--r--apps/files_trashbin/ajax/preview.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/ajax/preview.php b/apps/files_trashbin/ajax/preview.php
index 32905b2a71c..1401e3b7a7d 100644
--- a/apps/files_trashbin/ajax/preview.php
+++ b/apps/files_trashbin/ajax/preview.php
@@ -6,6 +6,7 @@
* See the COPYING-README file.
*/
\OC_Util::checkLoggedIn();
+\OC::$server->getSession()->close();
if(!\OC_App::isEnabled('files_trashbin')){
exit;