]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 471060: The mod_perl CGI requirement isn't necessary anymore
authormkanat%bugzilla.org <>
Fri, 2 Jan 2009 23:31:54 +0000 (23:31 +0000)
committermkanat%bugzilla.org <>
Fri, 2 Jan 2009 23:31:54 +0000 (23:31 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

Bugzilla/Install/Requirements.pm

index c245cc1a345625f402137fe369ebda4b6dcb8cea..47699e4324d710b839950a87fd5e151ac3a25e8e 100644 (file)
@@ -234,19 +234,6 @@ sub OPTIONAL_MODULES {
     },
     );
 
-    # Even very new releases of perl (5.8.5) don't come with this version,
-    # so I didn't want to make it a general requirement just for
-    # running under mod_cgi.
-    # If Perl 5.10 is installed, then CGI 3.33 is already required. So this
-    # check is only relevant with Perl 5.8.x.
-    my $perl_ver = sprintf('%vd', $^V);
-    if (vers_cmp($perl_ver, '5.10') < 0) {
-        push(@modules, { package => 'CGI.pm',
-                         module  => 'CGI',
-                         version => '3.11',
-                         feature => 'mod_perl' });
-    }
-
     my $all_modules = _get_extension_requirements(
         'OPTIONAL_MODULES', \@modules);
     return $all_modules;