diff options
author | Lukas Reschke <lukas@owncloud.com> | 2014-10-13 15:03:44 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2014-10-13 15:03:44 +0200 |
commit | 50841f8307648baccd26cf4df6fbacaad4865191 (patch) | |
tree | 514afc3dc72c5719c89883f426b148064be238fd | |
parent | 4a4ea1dae93f97615697e2fac241ea13eb321d07 (diff) | |
download | nextcloud-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.
-rw-r--r-- | settings/apps.php | 1 |
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' ); |