diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-01-26 13:28:57 -0500 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-01-26 13:28:57 -0500 |
commit | aff9bf5a7ab21ea303c4882272e76630d05d40f2 (patch) | |
tree | 71f9ff608adad13c637396c1ed4a0878f7f16355 /IkiWiki | |
parent | 093f8534f18f5ac25678fd31857a5da0e43c50d8 (diff) |
more unnecessary parens
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index ce771abf8..b07384514 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -659,8 +659,8 @@ sub mycgiurl (@) { my $page=shift; my $destpage=shift; - return ( exists $filtered{$page}{$destpage} - && $filtered{$page}{$destpage} eq 1 ); + return exists $filtered{$page}{$destpage} + && $filtered{$page}{$destpage} eq 1; } sub setalreadyfiltered($$) { @@ -768,7 +768,7 @@ sub lang ($) { sub islanguagecode ($) { my $code=shift; - return ($code =~ /^[a-z]{2}$/); + return $code =~ /^[a-z]{2}$/; } sub otherlanguage ($$) { |