From 50841f8307648baccd26cf4df6fbacaad4865191 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Mon, 13 Oct 2014 15:03:44 +0200
Subject: [PATCH] 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 6021574cbb3..b725c87b0ab 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' );
-- 
GitLab