diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-10-29 10:28:09 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-10-29 10:28:09 +0100 |
commit | 1052243285825c60dc031fb3bd1541afce7efb65 (patch) | |
tree | b9221d971079f3b60b9423668f418bbb22ec9b9b /search/ajax | |
parent | cb944814d9be6e7b7bcff6e41e25a34ecc36fa40 (diff) | |
download | nextcloud-server-1052243285825c60dc031fb3bd1541afce7efb65.tar.gz nextcloud-server-1052243285825c60dc031fb3bd1541afce7efb65.zip |
Close session for search
Make search non-blocking.
Diffstat (limited to 'search/ajax')
-rw-r--r-- | search/ajax/search.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/search/ajax/search.php b/search/ajax/search.php index 546fccc644f..84a5a760cad 100644 --- a/search/ajax/search.php +++ b/search/ajax/search.php @@ -23,6 +23,7 @@ // Check if we are a user OC_JSON::checkLoggedIn(); +\OC::$server->getSession()->close(); $query=(isset($_GET['query']))?$_GET['query']:''; if($query) { |