[Pkg-owncloud-commits] [owncloud] 11/34: Close session when loading apps

David Prévot taffit at moszumanska.debian.org
Fri Oct 17 01:32:16 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 da150afcc53178f9b2834566593cce2f2772b2dc
Author: Lukas Reschke <lukas at owncloud.com>
Date:   Mon Oct 13 15:03:44 2014 +0200

    Close session when loading apps
    
    Otherwise the session is blocked while all remote apps are loaded. This can be very annoying especially when apps.owncloud.com is down or not reachable.
---
 settings/apps.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/settings/apps.php b/settings/apps.php
index 6021574..b725c87 100644
--- a/settings/apps.php
+++ b/settings/apps.php
@@ -22,6 +22,7 @@
 */
 
 OC_Util::checkAdminUser();
+\OC::$server->getSession()->close();
 
 // Load the files we need
 OCP\Util::addStyle('settings', 'settings' );

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