]> source.dussan.org Git - nextcloud-server.git/commitdiff
Close sessions when doing background jobs
authorRobin Appelman <icewind@owncloud.com>
Sat, 16 Mar 2013 23:48:10 +0000 (00:48 +0100)
committerRobin Appelman <icewind@owncloud.com>
Sat, 16 Mar 2013 23:48:10 +0000 (00:48 +0100)
cron.php

index a202ca60bad7ac93bcad6c3f68a8f1c6de0523f3..086f96f3665acafb658ce556447f9c0e2419c117 100644 (file)
--- a/cron.php
+++ b/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 );