summaryrefslogtreecommitdiffstats
path: root/search
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-29 15:29:28 +0100
committerLukas Reschke <lukas@owncloud.com>2014-10-29 15:29:28 +0100
commit32071e8c062af055aed293fb70ac6df2a4d14515 (patch)
tree455dea0c0ce117990882177db81420af5f0899b8 /search
parent6c4b7db09b1ea79a873144fb8cedc0203ad0e838 (diff)
parent1052243285825c60dc031fb3bd1541afce7efb65 (diff)
downloadnextcloud-server-32071e8c062af055aed293fb70ac6df2a4d14515.tar.gz
nextcloud-server-32071e8c062af055aed293fb70ac6df2a4d14515.zip
Merge pull request #11831 from owncloud/make-search-non-blocking
Close session for search
Diffstat (limited to 'search')
-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) {