diff --git a/Rocksolid_Light/rslight/overrides.inc.php.dist b/Rocksolid_Light/rslight/overrides.inc.php.dist index 792d91a..9e3e2c2 100644 --- a/Rocksolid_Light/rslight/overrides.inc.php.dist +++ b/Rocksolid_Light/rslight/overrides.inc.php.dist @@ -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, diff --git a/Rocksolid_Light/rslight/scripts/spoolnews.php b/Rocksolid_Light/rslight/scripts/spoolnews.php index 23bac51..475cc5c 100644 --- a/Rocksolid_Light/rslight/scripts/spoolnews.php +++ b/Rocksolid_Light/rslight/scripts/spoolnews.php @@ -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); } } }