Merge pull request #11831 from owncloud/make-search-non-blocking

Close session for search
This commit is contained in:
Lukas Reschke 2014-10-29 15:29:28 +01:00
commit 32071e8c06

View file

@ -23,6 +23,7 @@
// Check if we are a user // Check if we are a user
OC_JSON::checkLoggedIn(); OC_JSON::checkLoggedIn();
\OC::$server->getSession()->close();
$query=(isset($_GET['query']))?$_GET['query']:''; $query=(isset($_GET['query']))?$_GET['query']:'';
if($query) { if($query) {