summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/ajax/isEmpty.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_trashbin/ajax/isEmpty.php')
-rw-r--r--apps/files_trashbin/ajax/isEmpty.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/ajax/isEmpty.php b/apps/files_trashbin/ajax/isEmpty.php
index 2e54c7e77b9..897ee262895 100644
--- a/apps/files_trashbin/ajax/isEmpty.php
+++ b/apps/files_trashbin/ajax/isEmpty.php
@@ -6,6 +6,7 @@
OCP\JSON::checkLoggedIn();
OCP\JSON::callCheck();
+\OC::$server->getSession()->close();
$trashStatus = OCA\Files_Trashbin\Trashbin::isEmpty(OCP\User::getUser());