Remove tmp files after successful posting.

This commit is contained in:
Retro_Guy 2024-08-24 12:26:29 -07:00
parent 1f3ab5e3a6
commit 02c1733392
1 changed files with 1 additions and 0 deletions

View File

@ -1245,6 +1245,7 @@ function insert_article($section, $nntp_group, $filename, $subject_i, $from_i, $
} else { } else {
$this_snippet = get_search_snippet($body); $this_snippet = get_search_snippet($body);
} }
unlink($tmp_file);
} else { } else {
rename($tmp_file, $tradspool_out_file); rename($tmp_file, $tradspool_out_file);
} }