]> source.dussan.org Git - nextcloud-server.git/commitdiff
Close session for search
authorLukas Reschke <lukas@owncloud.com>
Wed, 29 Oct 2014 09:28:09 +0000 (10:28 +0100)
committerLukas Reschke <lukas@owncloud.com>
Wed, 29 Oct 2014 09:28:09 +0000 (10:28 +0100)
Make search non-blocking.

search/ajax/search.php

index 546fccc644fdb661fc10bbdd9bf136bae2859a6d..84a5a760cadb84cbdd93c49327ddf16283663843 100644 (file)
@@ -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) {