summaryrefslogtreecommitdiffstats
path: root/search/ajax
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-29 10:28:09 +0100
committerLukas Reschke <lukas@owncloud.com>2014-10-29 10:28:09 +0100
commit1052243285825c60dc031fb3bd1541afce7efb65 (patch)
treeb9221d971079f3b60b9423668f418bbb22ec9b9b /search/ajax
parentcb944814d9be6e7b7bcff6e41e25a34ecc36fa40 (diff)
downloadnextcloud-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.php1
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) {