From 34730a9762bccc4ef6062b0e04d3cae9d31132fa Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Mar 2020 09:47:46 +0100 Subject: [PATCH] Bug 18177: remove aqbooksellers.bookselleremail Content-Type: text/plain; charset=utf-8 Signed-off-by: Martin Renvoize Signed-off-by: Marcel de Rooy --- C4/Letters.pm | 1 - Koha/Acquisition/Bookseller.pm | 1 - t/db_dependent/Bookseller.t | 1 - 3 files changed, 3 deletions(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 9e583cd5ae..c75767e26c 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -449,7 +449,6 @@ sub SendAlerts { my @email; my @cc; - push @email, $databookseller->{bookselleremail} if $databookseller->{bookselleremail}; push @email, $datacontact->{email} if ( $datacontact && $datacontact->{email} ); unless (@email) { warn "Bookseller $dataorders->[0]->{booksellerid} without emails"; diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm index 9fe5caccf9..a96806bb50 100644 --- a/Koha/Acquisition/Bookseller.pm +++ b/Koha/Acquisition/Bookseller.pm @@ -82,7 +82,6 @@ on the API. sub to_api_mapping { return { - bookselleremail => undef, currency => undef, listprice => 'list_currency', invoiceprice => 'invoice_currency', diff --git a/t/db_dependent/Bookseller.t b/t/db_dependent/Bookseller.t index 33324dd3bd..3bb98bdd6f 100644 --- a/t/db_dependent/Bookseller.t +++ b/t/db_dependent/Bookseller.t @@ -766,7 +766,6 @@ sub field_filter { my ($struct) = @_; for my $field ( - 'bookselleremail', 'currency', 'invoiceprice', 'listprice', 'contacts' ) -- 2.11.0