removing redundant words

This commit is contained in:
Wouter van Oijen 2006-07-19 14:57:20 +00:00
parent a147c770f8
commit 209e529a45
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ sub addChild {
my $properties = shift;
my @other = @_;
if ($properties->{className} ne "WebGUI::Asset::Post") {
$self->session->errorHandler->security("tried to add a ".$properties->{className}." to a ".$self->get("className"));
$self->session->errorHandler->security("add a ".$properties->{className}." to a ".$self->get("className"));
return undef;
}
return $self->SUPER::addChild($properties, @other);

View file

@ -30,7 +30,7 @@ sub addChild {
my $properties = shift;
my @other = @_;
if ($properties->{className} ne "WebGUI::Asset::Post::Thread") {
$self->session->errorHandler->security("tried to add a ".$properties->{className}." to a ".$self->get("className"));
$self->session->errorHandler->security("add a ".$properties->{className}." to a ".$self->get("className"));
return undef;
}
return $self->SUPER::addChild($properties, @other);