From 8e190a5a97fd2be24370aa8d3f21b7641506ae92 Mon Sep 17 00:00:00 2001 From: Valerio Ponte Date: Fri, 19 Oct 2012 00:11:20 +0200 Subject: Moved X-Sendfile headers into OC_Files::get now should work with temp files too --- cron.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cron.php') diff --git a/cron.php b/cron.php index cd2e155a494..a202ca60bad 100644 --- a/cron.php +++ b/cron.php @@ -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' ) { -- cgit v1.2.3