diff options
author | Joey Hess <joey@kitenet.net> | 2010-09-07 12:08:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-09-07 12:08:59 -0400 |
commit | 8a6f4a7e50c247c061fd74b535d0f292aca6bda7 (patch) | |
tree | 265b285b3d8f5b33ff135531badfe2f3585e378d /IkiWiki/Plugin/po.pm | |
parent | 7475f90be2c1941d4449791e9e9cd5f3dc3bbb71 (diff) | |
download | ikiwiki-8a6f4a7e50c247c061fd74b535d0f292aca6bda7.tar ikiwiki-8a6f4a7e50c247c061fd74b535d0f292aca6bda7.tar.gz |
needsbuild hook interface changed; the hooks should now return the modified array of things that need built. (Backwards compatability code keeps plugins using the old interface working.)
Diffstat (limited to 'IkiWiki/Plugin/po.pm')
-rw-r--r-- | IkiWiki/Plugin/po.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm index f3530faf3..7b62092e1 100644 --- a/IkiWiki/Plugin/po.pm +++ b/IkiWiki/Plugin/po.pm @@ -221,6 +221,8 @@ sub needsbuild () { foreach my $master (keys %translations) { map add_depends($_, $master), values %{otherlanguages_pages($master)}; } + + return $needsbuild; } sub scan (@) { |