Skip to content
Snippets Groups Projects
Commit d3858e9f authored by Robin Appelman's avatar Robin Appelman
Browse files

Close sessions when doing background jobs

parent db69e2b3
Branches
No related tags found
No related merge requests found
......@@ -48,6 +48,8 @@ function handleUnexpectedShutdown() {
$RUNTIME_NOSETUPFS = true;
require_once 'lib/base.php';
session_write_close();
// Don't do anything if ownCloud has not been installed
if( !OC_Config::getValue( 'installed', false )) {
exit( 0 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment