The subroutine C4::Acquisition::GetParcel is never used in the code. It can be removed.
Created attachment 33774 [details] [review] Bug 13318: Delete C4::Acq::GetParcel Test plan: git grep GetParcel should not return use of this subroutine.
Created attachment 34011 [details] [review] Bug-13318-Delete-C4-Acq-GetParcel.patch Reviewed code. # before patch git grep GetParcel C4/Acquisition.pm: &GetParcels &GetParcel C4/Acquisition.pm:=head3 GetParcel C4/Acquisition.pm: @results = &GetParcel($booksellerid, $code, $date); C4/Acquisition.pm:sub GetParcel { C4/Acquisition.pm:=head3 GetParcels C4/Acquisition.pm: $results = &GetParcels($bookseller, $order, $code, $datefrom, $dateto); C4/Acquisition.pm:sub GetParcels { #after patch git grep GetParcel C4/Acquisition.pm: &GetParcels C4/Acquisition.pm:=head3 GetParcels C4/Acquisition.pm: $results = &GetParcels($bookseller, $order, $code, $datefrom, $dateto); C4/Acquisition.pm:sub GetParcels { Dead code removed.
Created attachment 34150 [details] [review] [PASSED QA] Bug 13318: Delete C4::Acq::GetParcel Test plan: git grep GetParcel should not return use of this subroutine. Signed-off-by: wajasu <matted@34813.mypacks.net> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Patch pushed to master. Thanks Jonathan!