po plugin: replace %hash=undef with undef %hash
[ikiwiki.git] / IkiWiki / Plugin / po.pm
index 59d938d821151a1f9f0ec3bac27c1a18f8c406ec..155af706f78eba5e076689d0e4fa32d5b0171f37 100644 (file)
@@ -204,8 +204,8 @@ sub needsbuild () { #{{{
                IkiWiki::refresh();
                IkiWiki::saveindex();
                # refresh module's private variables
-               %filtered=undef;
-               %translations=undef;
+               undef %filtered;
+               undef %translations;
                foreach my $page (keys %pagesources) {
                        istranslation($page);
                }