Immediately delete articles in expire.php.
This commit is contained in:
parent
13c5bb1551
commit
2f842a5dc9
|
@ -63,6 +63,7 @@
|
||||||
echo "Expiring: ".$break[4]." IN: ".$group." #".$break[0]."\r\n";
|
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);
|
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]);
|
unlink($spooldir.'/articles/'.$grouppath.'/'.$break[0]);
|
||||||
|
thread_cache_removearticle($group,$break[4]);
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
fputs($out_overviewfp, $line);
|
fputs($out_overviewfp, $line);
|
||||||
|
|
Loading…
Reference in New Issue