Dropping last 'CGI' references.
authorshort <>
Sun, 2 Oct 2005 06:31:21 +0000 (06:31 +0000)
committershort <>
Sun, 2 Oct 2005 06:31:21 +0000 (06:31 +0000)
project/List.pm

index 6bd3c0e..e8e913d 100755 (executable)
@@ -24,7 +24,6 @@ use strict;
 use warnings;
 
 use My::Web;
-require CGI;
 Wrequire 'project::Lib';
 
 
@@ -42,8 +41,6 @@ My::Web->init(
 My::Web->heading();
 
 
-my $CGI=CGI->new();
-
 print(project::Lib->views(($W->{"args"}{"platform"} ? "BriefPlatform" : "BriefUnified")));
 print(project::Lib->platforms(undef(),"novskip"=>1)) if $W->{"args"}{"platform"};
 
@@ -133,7 +130,7 @@ my($platform)=@_;
                                print '</td>';
                                }
                        print '</tr>'."\n";
-                       if ($CGI->param("description_opt")) {
+                       if ($W->{"args"}{"description_opt"}) {
                                print '<tr><td style="border: none;"></td>';
                                print '<td colspan="'.(scalar(@col_order)-1).'"><blockquote>'.$item{$row}{"description"}.'</blockquote></td>';
                                print '</tr>'."\n";