diff options
author | Simon McVittie <smcv@debian.org> | 2014-10-11 09:28:02 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2014-10-12 18:03:57 +0100 |
commit | 17fccbca94aafc112fd72929ba4e7205ceedc287 (patch) | |
tree | b6218c29b8f488c52f51721340585bfff1bb6433 /IkiWiki/Plugin/editpage.pm | |
parent | 4e2bfe1e17b3bb142aef116e0731d5a8c36d8179 (diff) | |
download | ikiwiki-17fccbca94aafc112fd72929ba4e7205ceedc287.tar ikiwiki-17fccbca94aafc112fd72929ba4e7205ceedc287.tar.gz |
Do not pass ignored sid parameter to checksessionexpiry
checksessionexpiry's signature changed from
(CGI::Session, CGI->param('sid')) to (CGI, CGI::Session) in commit
985b229b, but editpage still passed the sid as a useless third
parameter, and this was later cargo-culted into remove, rename and
recentchanges.
Diffstat (limited to 'IkiWiki/Plugin/editpage.pm')
-rw-r--r-- | IkiWiki/Plugin/editpage.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm index 3047869c4..78d0704c7 100644 --- a/IkiWiki/Plugin/editpage.pm +++ b/IkiWiki/Plugin/editpage.pm @@ -342,7 +342,7 @@ sub cgi_editpage ($$) { else { # save page check_canedit($page, $q, $session); - checksessionexpiry($q, $session, $q->param('sid')); + checksessionexpiry($q, $session); my $exists=-e "$config{srcdir}/$file"; |