aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/editdiff.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-06-30 20:33:39 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-06-30 20:33:39 -0400
commite1d9747be167c834c5b1b98331f40dc98fc46c93 (patch)
treeb04c5fbd801676b7df0a355178a3d605d9fa9977 /IkiWiki/Plugin/editdiff.pm
parent8e43bc0e0fef57a0770ef69e9aac845ed6078dfa (diff)
downloadikiwiki-e1d9747be167c834c5b1b98331f40dc98fc46c93.tar
ikiwiki-e1d9747be167c834c5b1b98331f40dc98fc46c93.tar.gz
remove unused editpage title
The title was set to editpage, but then always changed. And some code tested for this. Remove this dead code.
Diffstat (limited to 'IkiWiki/Plugin/editdiff.pm')
-rw-r--r--IkiWiki/Plugin/editdiff.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/IkiWiki/Plugin/editdiff.pm b/IkiWiki/Plugin/editdiff.pm
index 2a70ca0b8..b8ecaa3d7 100644
--- a/IkiWiki/Plugin/editdiff.pm
+++ b/IkiWiki/Plugin/editdiff.pm
@@ -48,8 +48,7 @@ sub formbuilder_setup { #{{{
my $form=$params{form};
my $page=$form->field("page");
- return if $form->title ne "editpage"
- || $form->field("do") ne "edit";
+ return if $form->field("do") ne "edit";
$page = IkiWiki::titlepage(IkiWiki::possibly_foolish_untaint($page));
return unless exists $pagesources{$page};