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

@ -250,12 +250,12 @@ sub getEditForm {
#-------------------------------------------------------------------
sub www_edit {
my $self = shift;
return WebGUI::Privilege::insufficient() unless $self->canEdit;
$self->getAdminConsole->setHelp("ws client add/edit","Asset_WSClient");
return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("20","Asset_WSClient"));
}
#sub www_edit {
# my $self = shift;
# return WebGUI::Privilege::insufficient() unless $self->canEdit;
# $self->getAdminConsole->setHelp("ws client add/edit","Asset_WSClient");
# return $self->getAdminConsole->render($self->getEditForm->print,WebGUI::International::get("20","Asset_WSClient"));
#}
#-------------------------------------------------------------------