commented out www_edit method so that the generalized, internationalized one in Wobject.pm will be used.
This commit is contained in:
parent
46c1c0d8a3
commit
5144b65842
9 changed files with 57 additions and 57 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue