Close session for publicwebdav

We need to close the session otherwise streaming will lead to a blocked ownCloud.
This commit is contained in:
Lukas Reschke 2016-03-15 16:08:55 +01:00
parent ad9a0804f3
commit 7183854509
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ $RUNTIME_APPTYPES = ['filesystem', 'authentication', 'logging'];
OC_App::loadApps($RUNTIME_APPTYPES); OC_App::loadApps($RUNTIME_APPTYPES);
OC_Util::obEnd(); OC_Util::obEnd();
\OC::$server->getSession()->close();
// Backends // Backends
$authBackend = new OCA\DAV\Connector\PublicAuth(\OC::$server->getConfig()); $authBackend = new OCA\DAV\Connector\PublicAuth(\OC::$server->getConfig());