You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2022/05/07 06:01:02 UTC
svn commit: r1900642 - /spamassassin/trunk/sa-update.raw
Author: hege
Date: Sat May 7 06:01:02 2022
New Revision: 1900642
URL: http://svn.apache.org/viewvc?rev=1900642&view=rev
Log:
Remove superfluous version check, it's not possible to be false
Modified:
spamassassin/trunk/sa-update.raw
Modified: spamassassin/trunk/sa-update.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-update.raw?rev=1900642&r1=1900641&r2=1900642&view=diff
==============================================================================
--- spamassassin/trunk/sa-update.raw (original)
+++ spamassassin/trunk/sa-update.raw Sat May 7 06:01:02 2022
@@ -267,13 +267,7 @@ else {
my $RevSAVersion = join(".", reverse split(/\./, $SAVersion));
# set debug areas, if any specified (only useful for command-line tools)
-$SAVersion =~ /^(\d+\.\d+)/;
-if ($1+0 > 3.0) {
- $opt{'debug'} ||= 'all' if (defined $opt{'debug'});
-}
-else {
- $opt{'debug'} = defined $opt{'debug'};
-}
+$opt{'debug'} ||= 'all' if (defined $opt{'debug'});
# Find the default site rule directory, also setup debugging and other M::SA bits
my $SA = Mail::SpamAssassin->new({