summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2008-11-13 04:37:26 +0100
committerintrigeri <intrigeri@boum.org>2008-11-13 04:37:26 +0100
commit5eed0fd97d3f1abcfce3288df9aeeed50967757c (patch)
treeac8c50b02adc8d1e44bc54fa1d3224fc009a9eae /IkiWiki/Plugin
parentd795a295c929f68ab1b2beb31fbb8a973bc57fba (diff)
po(change): reset renamed pages status at a better time
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/po.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index d4280853f..ae97a2f38 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -363,6 +363,7 @@ sub change(@) { #{{{
while (my ($oldpage, $newpage) = $eachrenamed->()) {
renametranslations($oldpage, $newpage);
}
+ resetrenamed();
my $updated_po_files=0;
@@ -402,7 +403,6 @@ sub change(@) { #{{{
}
# Reinitialize module's private variables.
resetalreadyfiltered();
- resetrenamed();
resettranslationscache();
flushmemoizecache();
# Trigger a wiki refresh.