summaryrefslogtreecommitdiffstats
path: root/settings/apps.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-10-13 15:03:44 +0200
committerLukas Reschke <lukas@owncloud.com>2014-10-13 15:03:44 +0200
commit50841f8307648baccd26cf4df6fbacaad4865191 (patch)
tree514afc3dc72c5719c89883f426b148064be238fd /settings/apps.php
parent4a4ea1dae93f97615697e2fac241ea13eb321d07 (diff)
downloadnextcloud-server-50841f8307648baccd26cf4df6fbacaad4865191.tar.gz
nextcloud-server-50841f8307648baccd26cf4df6fbacaad4865191.zip
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.
Diffstat (limited to 'settings/apps.php')
-rw-r--r--settings/apps.php1
1 files changed, 1 insertions, 0 deletions
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' );