diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-10-22 17:36:52 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-10-24 12:18:49 +0200 |
commit | 0b9629778393436a7858ccf8211ef44c1e446f61 (patch) | |
tree | 38a723b966e96775d8df2f4126b0d129b1e190c9 /cron.php | |
parent | 83c74b80ad826af60d894ba91bb1e56fd2005d32 (diff) | |
download | nextcloud-server-0b9629778393436a7858ccf8211ef44c1e446f61.tar.gz nextcloud-server-0b9629778393436a7858ccf8211ef44c1e446f61.zip |
Use the TempManager to handle temporary files
Diffstat (limited to 'cron.php')
-rw-r--r-- | cron.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -71,8 +71,7 @@ try { // Handle unexpected errors register_shutdown_function('handleUnexpectedShutdown'); - // Delete temp folder - OC_Helper::cleanTmpNoClean(); + \OC::$server->getTempManager()->cleanOld(); // Exit if background jobs are disabled! $appmode = OC_BackgroundJob::getExecutionType(); |