From 0af0bf6a133d848568f436b444dd110538cd29f9 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 4 Aug 2011 22:13:08 -0700 Subject: [PATCH] Remove www_edit from WikiPage and rely on the master class instead. --- lib/WebGUI/Asset/WikiPage.pm | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/lib/WebGUI/Asset/WikiPage.pm b/lib/WebGUI/Asset/WikiPage.pm index 5c56d0795..ec3eefa19 100644 --- a/lib/WebGUI/Asset/WikiPage.pm +++ b/lib/WebGUI/Asset/WikiPage.pm @@ -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.