Remove www_edit from WikiPage and rely on the master class instead.

This commit is contained in:
Colin Kuskie 2011-08-04 22:13:08 -07:00
parent fe2aa2fe87
commit 0af0bf6a13

View file

@ -487,21 +487,6 @@ sub www_delete {
#-------------------------------------------------------------------
=head2 www_edit
Overrides the master class to render the edit form in the parent wiki's style.
=cut
sub www_edit {
my $self = shift;
return $self->session->privilege->insufficient unless $self->canEdit;
return $self->session->privilege->locked unless $self->canEditIfLocked;
return $self->getWiki->processStyle($self->getEditForm);
}
#-------------------------------------------------------------------
=head2 www_getHistory
Returns the version history of this wiki page. The output is templated.