diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-03-17 03:48:10 +0400 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-03-17 05:25:21 +0400 |
commit | 2c76ee1c8b26bea1720b374862563a0025a51daf (patch) | |
tree | 37af8719c505928dd6ee8cdba9753004e019e690 /cron.php | |
parent | 9a2c1cbcc3210bc848c9aeb9444d4befcf5c76c0 (diff) |
Close sessions when doing background jobs
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 ); |