From 17dbb9725399a5f7c16ed89a861e3583b7073192 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 34f98c2e31..35f9f1b68d 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 # # @@ -57,7 +57,7 @@ sub get_amazon_tld { =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 a0b1529336..97bba419cc 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 81e122c86e..56bd25eff0 100755 --- a/opac/opac-ISBDdetail.pl +++ b/opac/opac-ISBDdetail.pl @@ -118,7 +118,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 bdf1866f3d..e810272b04 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -33,7 +33,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.39.5