Skip to content

Commit

Permalink
Item13778: CGI -any pragma deprecated
Browse files Browse the repository at this point in the history
Backport Foswiki 2.0 fixes.
  • Loading branch information
gac410 committed Oct 1, 2015
1 parent 21c5380 commit 7da696e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CommentPlugin/lib/Foswiki/Plugins/CommentPlugin/Comment.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use Foswiki;
use Foswiki::Plugins;
use Foswiki::Store;
use Foswiki::Attrs;
use CGI qw( -any );
use CGI;

package Foswiki::Plugins::CommentPlugin::Comment;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use warnings;
use Assert;
use Error (':try');

use CGI qw( :cgi -any );
use CGI;

use Encode ();

Expand Down
2 changes: 1 addition & 1 deletion core/bin/configure
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ if ($@) {
unshift( @INC, File::Spec->catfile( @root, 'lib' ) );
}

::_loadBasicModule('CGI qw(:any)');
::_loadBasicModule('CGI');

$| = 1; # no buffering on STDOUT

Expand Down
2 changes: 1 addition & 1 deletion core/lib/Foswiki/Configure/Type.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package Foswiki::Configure::Type;
use strict;
use warnings;

use CGI qw( :any );
use CGI;

use Foswiki::Configure::Types::UNKNOWN;

Expand Down

0 comments on commit 7da696e

Please sign in to comment.