summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax/undelete.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/ajax/undelete.php')
-rw-r--r--apps/files_trashbin/ajax/undelete.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/ajax/undelete.php b/apps/files_trashbin/ajax/undelete.php
index 02d651925ca..ab7d57f5a7f 100644
--- a/apps/files_trashbin/ajax/undelete.php
+++ b/apps/files_trashbin/ajax/undelete.php
@@ -2,6 +2,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
+\OC::$server->getSession()->close();
$files = $_POST['files'];
$dir = '/';