Removed trace statements

This commit is contained in:
Kaleb Murphy 2008-08-22 19:06:36 +00:00
parent c8d50c339e
commit 2d3ca50c05

View file

@ -1091,12 +1091,10 @@ sub view {
my $thingProperties = $self->getThing($defaultThingId); my $thingProperties = $self->getThing($defaultThingId);
if ($defaultView eq "searchThing"){ if ($defaultView eq "searchThing"){
return $i18n->get("no permission to search") if( ! $self->canSearch($defaultThingId, $thingProperties)); return $i18n->get("no permission to search") if( ! $self->canSearch($defaultThingId, $thingProperties));
$self->session->log->error('here1');
return $self->search($defaultThingId,$thingProperties) return $self->search($defaultThingId,$thingProperties)
} }
elsif ($defaultView eq "addThing"){ elsif ($defaultView eq "addThing"){
return $i18n->get("no permission to edit") if( ! $self->canEditThingData($defaultThingId, "new", $thingProperties)); return $i18n->get("no permission to edit") if( ! $self->canEditThingData($defaultThingId, "new", $thingProperties));
$self->session->log->error('here2');
return $self->editThingData($defaultThingId,"new", $thingProperties); return $self->editThingData($defaultThingId,"new", $thingProperties);
} }
else{ else{