label is already stored in the options, and never used directly in any method. Code that wants it can instanciate an object

This commit is contained in:
Colin Kuskie 2008-02-22 19:08:32 +00:00
parent ac28252d53
commit 72177f762c
3 changed files with 21 additions and 1 deletions

View file

@ -78,6 +78,9 @@ sub create {
$options{ $id } = $options;
$className{ $id } = __PACKAGE__;
$session->db->write('insert into shipper (shipperId,className) VALUES (?,?)', [$shipperId, $className{$id}]);
#$self->set($options);
return $self;
}