Commit 8fa361aa authored by Leo Gordon's avatar Leo Gordon
Browse files

create_new() method deleted as no longer used

parent ec4c3d3d
......@@ -83,18 +83,5 @@ sub mark_stored {
}
sub create_new {
my $self = shift @_;
my $check_presence_in_db_first = (scalar(@_)%2)
? pop @_ # extra 'odd' parameter that would disrupt the hash integrity anyway
: 0; # do not check by default
my $object = $self->object_class()->new( 'adaptor' => $self, @_ );
return $self->store( $object, $check_presence_in_db_first );
}
1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment