From 4bdeec4961b8df9df449b027e37a8b17898f2c86 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 19 Dec 2008 14:09:39 -0500 Subject: [PATCH] remove cruft wtf does it do? absolutely nothing --- IkiWiki/Plugin/comments.pm | 2 -- IkiWiki/Plugin/editpage.pm | 1 - 2 files changed, 3 deletions(-) diff --git a/IkiWiki/Plugin/comments.pm b/IkiWiki/Plugin/comments.pm index a155712fb..50c048fee 100644 --- a/IkiWiki/Plugin/comments.pm +++ b/IkiWiki/Plugin/comments.pm @@ -282,8 +282,6 @@ sub sessioncgi ($$) { header => 0, table => 0, template => scalar IkiWiki::template_params('editcomment.tmpl'), - # wtf does this do in editpage? - wikiname => $config{wikiname}, ); IkiWiki::decode_form_utf8($form); diff --git a/IkiWiki/Plugin/editpage.pm b/IkiWiki/Plugin/editpage.pm index 9210d6ff8..ed994306f 100644 --- a/IkiWiki/Plugin/editpage.pm +++ b/IkiWiki/Plugin/editpage.pm @@ -105,7 +105,6 @@ sub cgi_editpage ($$) { header => 0, table => 0, template => scalar template_params("editpage.tmpl"), - wikiname => $config{wikiname}, ); decode_form_utf8($form); -- 2.26.2