From 69c74c06ae6fd3ea4e9c1659f7bbdf2fc7cb1866 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Fri, 6 Feb 2009 12:52:08 -0600 Subject: [PATCH] Move Amazon.pm to External/ directory Signed-off-by: Galen Charlton --- C4/{ => External}/Amazon.pm | 4 ++-- C4/External/BakerTaylor.pm | 2 +- catalogue/detail.pl | 2 +- opac/opac-ISBDdetail.pl | 2 +- opac/opac-detail.pl | 2 +- t/Amazon.t | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) rename C4/{ => External}/Amazon.pm (98%) diff --git a/C4/Amazon.pm b/C4/External/Amazon.pm similarity index 98% rename from C4/Amazon.pm rename to C4/External/Amazon.pm index a9cb3392ec..f86e197d7e 100644 --- a/C4/Amazon.pm +++ b/C4/External/Amazon.pm @@ -1,4 +1,4 @@ -package C4::Amazon; +package C4::External::Amazon; # Copyright (C) 2006 LibLime # # @@ -39,7 +39,7 @@ BEGIN { =head1 NAME -C4::Amazon - Functions for retrieving Amazon.com content in Koha +C4::External::Amazon - Functions for retrieving Amazon.com content in Koha =head1 FUNCTIONS diff --git a/C4/External/BakerTaylor.pm b/C4/External/BakerTaylor.pm index 39005e4c4a..777407328e 100644 --- a/C4/External/BakerTaylor.pm +++ b/C4/External/BakerTaylor.pm @@ -130,7 +130,7 @@ Such response will trigger a warning for each request (potentially many). Point =head1 SEE ALSO -C4::Amazon +C4::External::Amazon LWP::UserAgent =head1 AUTHOR diff --git a/catalogue/detail.pl b/catalogue/detail.pl index 393ec16691..363f2dc657 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -33,7 +33,7 @@ use C4::Reserves; use C4::Members; use C4::Serials; use C4::XISBN qw(get_xisbns get_biblionumber_from_isbn get_biblio_from_xisbn); -use C4::Amazon; +use C4::External::Amazon; # use Smart::Comments; diff --git a/opac/opac-ISBDdetail.pl b/opac/opac-ISBDdetail.pl index bb3b570460..baaef43292 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -229,7 +229,7 @@ $template->param( ## Amazon.com stuff #not used unless preference set if ( C4::Context->preference("AmazonContent") == 1 ) { - use C4::Amazon; + use C4::External::Amazon; $dat->{'amazonisbn'} = $dat->{'isbn'}; $dat->{'amazonisbn'} =~ s|-||g; diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index 24f59b0bff..01c272f893 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -32,7 +32,7 @@ use C4::Circulation; use C4::Tags qw(get_tags); use C4::Dates qw/format_date/; use C4::XISBN qw(get_xisbns get_biblionumber_from_isbn get_biblio_from_xisbn); -use C4::Amazon; +use C4::External::Amazon; use C4::Review; use C4::Serials; use C4::Members; diff --git a/t/Amazon.t b/t/Amazon.t index 2d085a7192..a0ca21bfc8 100755 --- a/t/Amazon.t +++ b/t/Amazon.t @@ -9,6 +9,6 @@ use warnings; use Test::More tests => 1; BEGIN { - use_ok('C4::Amazon'); + use_ok('C4::External::Amazon'); } -- 2.20.1