patch #2143882 [import] Temporary uploaded file not deleted

This commit is contained in:
Marc Delisle
2008-10-04 13:44:49 +00:00
parent 5295bce9e8
commit ea463a1bf3
2 changed files with 3 additions and 0 deletions

View File

@@ -352,6 +352,7 @@ if (!$error) {
// Cleanup temporary file
if ($file_to_unlink != '') {
fclose($file_to_unlink);
unlink($file_to_unlink);
}