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

Close sessions when doing background jobs
remotes/origin/stable6
Thomas Müller 12 years ago
commit 86f6938c38
  1. 2
      cron.php

@ -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 );

Loading…
Cancel
Save