diff options
author | intrigeri <intrigeri@boum.org> | 2009-01-01 17:47:20 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2009-01-01 17:47:20 +0100 |
commit | a8105f68590c7aa56fc37ec62df854546a119060 (patch) | |
tree | 9340919727fb53ddb27f95c4d53f2da247dd0087 /IkiWiki/Plugin | |
parent | b24f236dfa2903805bc233a7fc97101d912ae3ee (diff) |
rename: pass the CGI and session to the rename hook
The po plugin remame + canrename hook combination will need this.
Signed-off-by: intrigeri <intrigeri@boum.org>
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r-- | IkiWiki/Plugin/rename.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/rename.pm b/IkiWiki/Plugin/rename.pm index 740ca8ac4..5c198f457 100644 --- a/IkiWiki/Plugin/rename.pm +++ b/IkiWiki/Plugin/rename.pm @@ -311,7 +311,7 @@ sub sessioncgi ($$) { required => 1, }; - IkiWiki::run_hooks(rename => sub { shift->(\@torename); }); + IkiWiki::run_hooks(rename => sub { shift->(\@torename, $q, $session); }); # See if any subpages need to be renamed. if ($q->param("subpages") && $src ne $dest) { |