summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax/delete.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/ajax/delete.php')
-rw-r--r--apps/files_trashbin/ajax/delete.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_trashbin/ajax/delete.php b/apps/files_trashbin/ajax/delete.php
index a2302802649..72553fa0ee0 100644
--- a/apps/files_trashbin/ajax/delete.php
+++ b/apps/files_trashbin/ajax/delete.php
@@ -2,6 +2,8 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
+\OC::$server->getSession()->close();
+
$folder = isset($_POST['dir']) ? $_POST['dir'] : '/';
// "empty trash" command