Remove tmp files after successful posting.
This commit is contained in:
parent
1f3ab5e3a6
commit
02c1733392
|
@ -1245,6 +1245,7 @@ function insert_article($section, $nntp_group, $filename, $subject_i, $from_i, $
|
|||
} else {
|
||||
$this_snippet = get_search_snippet($body);
|
||||
}
|
||||
unlink($tmp_file);
|
||||
} else {
|
||||
rename($tmp_file, $tradspool_out_file);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue