diff options
author | Valerio Ponte <valerio.ponte@gmail.com> | 2012-10-19 00:11:20 +0200 |
---|---|---|
committer | Valerio Ponte <valerio.ponte@gmail.com> | 2012-11-14 20:10:20 +0100 |
commit | 8e190a5a97fd2be24370aa8d3f21b7641506ae92 (patch) | |
tree | c61cc0ffb3a8537d45deb9ad1f040cc715b6b3f5 /cron.php | |
parent | 8420b9bf678d04558e7e32a5d034a1da6f49cabe (diff) | |
download | nextcloud-server-8e190a5a97fd2be24370aa8d3f21b7641506ae92.tar.gz nextcloud-server-8e190a5a97fd2be24370aa8d3f21b7641506ae92.zip |
Moved X-Sendfile headers into OC_Files::get
now should work with temp files too
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -56,6 +56,9 @@ if( !OC_Config::getValue( 'installed', false )) { // Handle unexpected errors register_shutdown_function('handleUnexpectedShutdown'); +// Delete temp folder +OC_Helper::cleanTmpNoClean(); + // Exit if background jobs are disabled! $appmode = OC_BackgroundJob::getExecutionType(); if( $appmode == 'none' ) { |