Skip to content
Snippets Groups Projects
Commit 86f6938c authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #2387 from owncloud/cron-session-close

Close sessions when doing background jobs
parents db69e2b3 d3858e9f
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