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.
This commit is contained in:
Lukas Reschke 2014-10-13 15:03:44 +02:00
parent 4a4ea1dae9
commit 50841f8307
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
*/
OC_Util::checkAdminUser();
\OC::$server->getSession()->close();
// Load the files we need
OCP\Util::addStyle('settings', 'settings' );