commented out www_edit method so that the generalized, internationalized one in Wobject.pm will be used.

This commit is contained in:
Matthew Wilson 2005-10-14 18:53:59 +00:00
parent 46c1c0d8a3
commit 5144b65842
9 changed files with 57 additions and 57 deletions

View file

@ -351,12 +351,12 @@ sub view {
}
#-------------------------------------------------------------------
sub www_edit {
my $self = shift;
return WebGUI::Privilege::insufficient() unless $self->canEdit;
$self->getAdminConsole->setHelp("poll add/edit","Asset_Poll");
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("9","Asset_Poll"));
}
#sub www_edit {
# my $self = shift;
# return WebGUI::Privilege::insufficient() unless $self->canEdit;
# $self->getAdminConsole->setHelp("poll add/edit","Asset_Poll");
# return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("9","Asset_Poll"));
#}
#-------------------------------------------------------------------
sub www_vote {