Immediately delete articles in expire.php.

This commit is contained in:
Retro_Guy 2023-06-30 09:50:51 -07:00
parent 13c5bb1551
commit 2f842a5dc9
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@
echo "Expiring: ".$break[4]." IN: ".$group." #".$break[0]."\r\n";
file_put_contents($logfile, "\n".format_log_date()." ".$config_name." Expiring: ".$break[4]." IN: ".$group." #".$break[0], FILE_APPEND);
unlink($spooldir.'/articles/'.$grouppath.'/'.$break[0]);
thread_cache_removearticle($group,$break[4]);
continue;
} else {
fputs($out_overviewfp, $line);