X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FBug.pm;h=256084eccdc26ef41b9416e72e8d02a22550987b;hb=73c3f08dcecccb9980f512ac0ec36c4cb7d3f556;hp=4a6bf6614e27ca557e65fa1d439c6b447defeca6;hpb=daecace23d15f729a9350f60324308c5bb50a158;p=debbugs.git diff --git a/Debbugs/Bug.pm b/Debbugs/Bug.pm index 4a6bf66..256084e 100644 --- a/Debbugs/Bug.pm +++ b/Debbugs/Bug.pm @@ -107,10 +107,7 @@ has correspondent_collection => ); sub _build_correspondent_collection { my $self = shift; - if ($self->has_schema) { - return Debbugs::Collection::Correspondent->new(schema => $self->schema); - } - return Debbugs::Collection::Correspondent->new(); + return Debbugs::Collection::Correspondent->new($self->schema_argument); } sub reset {