]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/pinger.pm
call preprocess in scan mode hooks before scan hooks
[git.ikiwiki.info.git] / IkiWiki / Plugin / pinger.pm
index 7b4dce5867534c702f220b3df6e792c91b3cbb61..c20ecb5d4ef3a663f5496135f56ddb5369c5dd87 100644 (file)
@@ -3,7 +3,7 @@ package IkiWiki::Plugin::pinger;
 
 use warnings;
 use strict;
-use IkiWiki 2.00;
+use IkiWiki 3.00;
 
 my %pages;
 my $pinged=0;
@@ -106,7 +106,7 @@ sub ping {
                        # will still be avoided.
                        next if $url=~/^\Q$config{cgiurl}\E/;
                        
-                       $ua->head($url);
+                       $ua->get($url);
                }
                
                exit 0;