[Pkg-owncloud-commits] [owncloud] 08/16: Close session for search

David Prévot taffit at moszumanska.debian.org
Thu Oct 30 19:55:59 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 77a533a29d2a43fda0788e65c79ef3a2412a080b
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Wed Oct 29 10:28:09 2014 +0100

    Close session for search
    
    Make search non-blocking.
---
 search/ajax/search.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/search/ajax/search.php b/search/ajax/search.php
index 546fccc..84a5a76 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) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list