Close session for search

Make search non-blocking.
This commit is contained in:
Lukas Reschke 2014-10-29 10:28:09 +01:00
parent cb944814d9
commit 1052243285
1 changed files with 1 additions and 0 deletions

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) {