Commit be7aa3b2 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

got rid of previous core in sub new, it should only be used in TestMappings

parent 7bfb857c
......@@ -60,12 +60,8 @@ sub new {
my($class, $mapper) = @_;
my $self ={};
bless $self,$class;
if (defined($mapper->previous_core)) {
$self->core($mapper->previous_core);
} else {
$self->core($mapper->core);
}
bless $self,$class;
$self->core($mapper->core);
$self->xref($mapper->xref);
$self->get_official_name($mapper->get_official_name);
return $self;
......
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