Bug 17189: Replace occurrences of 'use Koha::Cache'
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> https://bugs.koha-community.org/show_bug.cgi?id=11921 Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
55cdfd2da3
commit
658f603511
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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||;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ use C4::Reports::Guided;
|
|||
use JSON;
|
||||
use CGI qw ( -utf8 );
|
||||
|
||||
use Koha::Cache;
|
||||
use Koha::Caches;
|
||||
|
||||
my $query = CGI->new();
|
||||
my $report_id = $query->param('id');
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ use C4::Reports::Guided;
|
|||
use JSON;
|
||||
use CGI qw ( -utf8 );
|
||||
|
||||
use Koha::Cache;
|
||||
use Koha::Caches;
|
||||
|
||||
|
||||
my $query = CGI->new();
|
||||
|
|
|
|||
|
|
@ -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/;
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue