@@ -, +, @@ --- C4/Biblio.pm | 2 +- C4/Calendar.pm | 2 +- C4/External/OverDrive.pm | 2 +- C4/Koha.pm | 2 +- C4/Utils/DataTables/ColumnsSettings.pm | 2 +- Koha/Calendar.pm | 2 +- admin/biblio_framework.pl | 2 +- admin/marctagstructure.pl | 2 +- t/Calendar.t | 2 +- t/db_dependent/Filter_MARC_ViewPolicy.t | 2 +- tools/newHolidays.pl | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) --- a/C4/Biblio.pm +++ a/C4/Biblio.pm @@ -39,7 +39,7 @@ use C4::Linker; use C4::OAI::Sets; use C4::Debug; -use Koha::Cache; +use Koha::Caches; use Koha::Authority::Types; use Koha::Acquisition::Currencies; use Koha::SearchEngine; --- a/C4/Calendar.pm +++ a/C4/Calendar.pm @@ -23,7 +23,7 @@ use Carp; use Date::Calc qw( Date_to_Days Today); use C4::Context; -use Koha::Cache; +use Koha::Caches; use constant ISO_DATE_FORMAT => "%04d-%02d-%02d"; --- a/C4/External/OverDrive.pm +++ a/C4/External/OverDrive.pm @@ -22,7 +22,7 @@ use warnings; use Koha; use JSON; -use Koha::Cache; +use Koha::Caches; use HTTP::Request; use HTTP::Request::Common; use LWP::Authen::Basic; --- a/C4/Koha.pm +++ a/C4/Koha.pm @@ -25,7 +25,7 @@ use strict; use C4::Context; use C4::Branch; # Can be removed? -use Koha::Cache; +use Koha::Caches; use Koha::DateUtils qw(dt_from_string); use Koha::Libraries; use DateTime::Format::MySQL; --- a/C4/Utils/DataTables/ColumnsSettings.pm +++ a/C4/Utils/DataTables/ColumnsSettings.pm @@ -5,7 +5,7 @@ use List::Util qw( first ); use YAML; use C4::Context; use Koha::Database; -use Koha::Cache; +use Koha::Caches; sub get_yaml { my $yml_path = C4::Context->config('intranetdir') . '/admin/columns_settings.yml'; --- a/Koha/Calendar.pm +++ a/Koha/Calendar.pm @@ -7,7 +7,7 @@ use DateTime; use DateTime::Set; use DateTime::Duration; use C4::Context; -use Koha::Cache; +use Koha::Caches; use Carp; sub new { --- a/admin/biblio_framework.pl +++ a/admin/biblio_framework.pl @@ -26,7 +26,7 @@ use C4::Output; use Koha::Biblios; use Koha::BiblioFramework; use Koha::BiblioFrameworks; -use Koha::Cache; +use Koha::Caches; my $input = new CGI; my $frameworkcode = $input->param('frameworkcode') || q||; --- a/admin/marctagstructure.pl +++ a/admin/marctagstructure.pl @@ -27,7 +27,7 @@ use C4::Context; use C4::Output; use C4::Context; -use Koha::Cache; +use Koha::Caches; # retrieve parameters my $input = new CGI; --- a/t/Calendar.t +++ a/t/Calendar.t @@ -22,7 +22,7 @@ use Test::MockModule; use DateTime; use DateTime::Duration; -use Koha::Cache; +use Koha::Caches; use Koha::DateUtils; use Module::Load::Conditional qw/check_install/; --- a/t/db_dependent/Filter_MARC_ViewPolicy.t +++ a/t/db_dependent/Filter_MARC_ViewPolicy.t @@ -30,7 +30,7 @@ use MARC::Record; use MARC::Field; use C4::Context; use C4::Biblio; -use Koha::Cache qw/flush_all/; +use Koha::Caches; use Koha::Database; BEGIN { --- a/tools/newHolidays.pl +++ a/tools/newHolidays.pl @@ -10,7 +10,7 @@ use CGI qw ( -utf8 ); use C4::Auth; use C4::Output; -use Koha::Cache; +use Koha::Caches; use C4::Calendar; use DateTime; --