call delete hook even if only internal pages are deleted
authorJoey Hess <joey@kitenet.net>
Fri, 7 May 2010 04:26:59 +0000 (00:26 -0400)
committerJoey Hess <joey@kitenet.net>
Fri, 7 May 2010 04:26:59 +0000 (00:26 -0400)
IkiWiki/Render.pm

index 2bf2e336bb021d11f0cfce1970380f264f06d415..c9ba95363a8a60b49b609a59a7617f79bb22c96f 100644 (file)
@@ -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) {