From: Joey Hess Date: Sun, 4 Oct 2009 20:07:02 +0000 (-0400) Subject: edittemplate: contentless dependency X-Git-Tag: 3.20091017~27^2~130^2~6 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/ce78b699278be0797316518079474bc776d657ed?ds=inline;hp=-c edittemplate: contentless dependency This one is unlikely to matter much, but yeah, it's contentless. --- ce78b699278be0797316518079474bc776d657ed diff --git a/IkiWiki/Plugin/edittemplate.pm b/IkiWiki/Plugin/edittemplate.pm index 0bafc95d0..89d450725 100644 --- a/IkiWiki/Plugin/edittemplate.pm +++ b/IkiWiki/Plugin/edittemplate.pm @@ -58,7 +58,7 @@ sub preprocess (@) { $pagestate{$params{page}}{edittemplate}{$params{match}}=$link; return "" if ($params{silent} && IkiWiki::yesno($params{silent})); - add_depends($params{page}, $link); + add_depends($params{page}, $link, content => 0); return sprintf(gettext("edittemplate %s registered for %s"), htmllink($params{page}, $params{destpage}, $link), $params{match});