Add Supersedes: support. Disabled by default.
This commit is contained in:
parent
5a5b435900
commit
704f36a75d
|
@ -116,6 +116,10 @@ return [
|
|||
// Disable toggle to send interBBS Mail to email
|
||||
'disable_mail_to_email' => true,
|
||||
|
||||
// Enable Supersedes. This is dependent on your 'remote' server
|
||||
// Default is false (Superseded articles will NOT be deleted)
|
||||
'enable_supersedes_support' => false,
|
||||
|
||||
// Disable New Articles link on groups page
|
||||
'overboard_disable_new_link' => false,
|
||||
|
||||
|
|
|
@ -574,7 +574,7 @@ function get_articles($ns, $group)
|
|||
file_put_contents($debug_log, "\n" . format_log_date() . " Found Supersedes: " . $mid[1] . " for: " . $supersedes, FILE_APPEND);
|
||||
if(!check_remote_for_msgid($supersedes)) {
|
||||
file_put_contents($debug_log, "\n" . format_log_date() . " Will delete: " . $supersedes, FILE_APPEND);
|
||||
// delete_message($supersedes);
|
||||
delete_message($supersedes);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue