diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-10-29 22:53:59 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-10-29 22:53:59 +0100 |
commit | 2cd35e94b4cd36f8f3e1691bc7da56583daca672 (patch) | |
tree | b82036c8b138d3743c85c65ae0b7b6149c67b657 /apps/files_trashbin/ajax/isEmpty.php | |
parent | 6c4b7db09b1ea79a873144fb8cedc0203ad0e838 (diff) | |
download | nextcloud-server-2cd35e94b4cd36f8f3e1691bc7da56583daca672.tar.gz nextcloud-server-2cd35e94b4cd36f8f3e1691bc7da56583daca672.zip |
Close session for files_trashbin
When restoring huge folders the interface will be unresponsive otherwise
Diffstat (limited to 'apps/files_trashbin/ajax/isEmpty.php')
-rw-r--r-- | apps/files_trashbin/ajax/isEmpty.php | 1 |
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()); |