From 1ba84c3a6b8b0a614e50b63f70d31090a7ee23de Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 26 Jul 2008 14:37:25 -0400 Subject: [PATCH] predefine pingurl --- IkiWiki/Plugin/inline.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index 3ca4fccdf..4d96001ed 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -28,7 +28,6 @@ sub import { #{{{ # pings interrupting page builds. hook(type => "change", id => "inline", call => \&IkiWiki::pingurl); - } # }}} sub getopt () { #{{{ @@ -96,6 +95,9 @@ sub checkconfig () { #{{{ if ($config{atom}) { push @{$config{wiki_file_prune_regexps}}, qr/\.atom$/; } + if (! exists $config{pingurl}) { + $config{pingurl}=[]; + } } #}}} sub format (@) { #{{{ -- 2.44.0