summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2013-06-26 00:03:14 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2013-06-26 00:03:14 +0200
commita3454f5468ebd94e933d5e2b05456e548e149731 (patch)
treeddb4d0cf9e364113657072bfe49bd5603e84de08 /Bugzilla
parent1ed42e893a83ccaf56e522a4b5391926c0a96303 (diff)
downloadbugzilla-a3454f5468ebd94e933d5e2b05456e548e149731.tar.gz
bugzilla-a3454f5468ebd94e933d5e2b05456e548e149731.tar.xz
Bug 886034: Remove deprecated code about CGI 2.75
r=dkl a=LpSolit
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Install/Requirements.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/Bugzilla/Install/Requirements.pm b/Bugzilla/Install/Requirements.pm
index 66622a7a5..f4c24f038 100644
--- a/Bugzilla/Install/Requirements.pm
+++ b/Bugzilla/Install/Requirements.pm
@@ -677,13 +677,7 @@ sub have_vers {
# the module isn't loaded.
my $vnum = $module->VERSION || -1;
- # CGI's versioning scheme went 2.75, 2.751, 2.752, 2.753, 2.76
- # That breaks the standard version tests, so we need to manually correct
- # the version
- if ($module eq 'CGI' && $vnum =~ /(2\.7\d)(\d+)/) {
- $vnum = $1 . "." . $2;
- }
- # CPAN did a similar thing, where it has versions like 1.9304.
+ # Fix CPAN versions like 1.9304.
if ($module eq 'CPAN' and $vnum =~ /^(\d\.\d{2})\d{2}$/) {
$vnum = $1;
}