tightening up some old code

This commit is contained in:
JT Smith 2006-03-29 21:58:14 +00:00
parent c355601249
commit b4f0ddb79b
3 changed files with 1 additions and 3 deletions

View file

@ -1703,7 +1703,6 @@ sub www_add {
url=>$self->session->form->param("url")
);
$properties{isHidden} = 1 unless (WebGUI::Utility::isIn($class, @{$self->session->config->get("assetContainers")}));
$self->session->errorHandler->warn($properties{url});
my $newAsset = WebGUI::Asset->newByPropertyHashRef($self->session,\%properties);
$newAsset->{_parent} = $self;
return $self->session->privilege->insufficient() unless ($newAsset->canAdd($self->session));