]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/conditional.pm
git: don't issue a warning if rcsinfo is undefined
[git.ikiwiki.info.git] / IkiWiki / Plugin / conditional.pm
index 8a57961491942438864c87a6ff1662b7d60a6439..0a3d7fb4cd18ef14261eb6896722c0991d8405dd 100644 (file)
@@ -4,7 +4,6 @@ package IkiWiki::Plugin::conditional;
 use warnings;
 use strict;
 use IkiWiki 3.00;
 use warnings;
 use strict;
 use IkiWiki 3.00;
-use UNIVERSAL;
 
 sub import {
        hook(type => "getsetup", id => "conditional", call => \&getsetup);
 
 sub import {
        hook(type => "getsetup", id => "conditional", call => \&getsetup);
@@ -59,8 +58,7 @@ sub preprocess_if (@) {
        else {
                $ret="";
        }
        else {
                $ret="";
        }
-       return IkiWiki::preprocess($params{page}, $params{destpage}, 
-               IkiWiki::filter($params{page}, $params{destpage}, $ret));
+       return IkiWiki::preprocess($params{page}, $params{destpage}, $ret);
 }
 
 package IkiWiki::PageSpec;
 }
 
 package IkiWiki::PageSpec;