diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-10-29 10:28:09 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-10-29 15:29:35 +0100 |
commit | 77a533a29d2a43fda0788e65c79ef3a2412a080b (patch) | |
tree | 237717d58eb6eb4af67a9cd8df58123229cd55d8 /search | |
parent | 84e942f1211ae4986cb03c7e8baf2fa175d21e3e (diff) | |
download | nextcloud-server-77a533a29d2a43fda0788e65c79ef3a2412a080b.tar.gz nextcloud-server-77a533a29d2a43fda0788e65c79ef3a2412a080b.zip |
Close session for search
Make search non-blocking.
Diffstat (limited to 'search')
-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) { |