From 915d9281dbfb3e93fad7a551a37e7ea3c695d794 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 7 May 2010 00:26:59 -0400 Subject: [PATCH] call delete hook even if only internal pages are deleted --- IkiWiki/Render.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index 2bf2e336b..c9ba95363 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -800,7 +800,7 @@ sub refresh () { render_backlinks($backlinkchanged); remove_unrendered(); - if (@$del) { + if (@$del || @$internal_del) { run_hooks(delete => sub { shift->(@$del, @$internal_del) }); } if (%rendered) { -- 2.26.2